Topic: Datatable - using of condition IF in MAP function?

Michal Betlach premium asked 1 day ago


*_Expected behavior_*Hello.I have got a datatable. I load data with MAP function. I would like to change icon in a row of the table in depend of some value in a column. Is possible to use IF condition in MAP function? Or how can I solve this issue?Thank you for your replay.

enter image description here


Kamila Pieńkowska staff answered 17 hours ago


Yes, it is possible to add if condition to the map function. You can add logic before you return value during mapping.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.3.2
  • Device: PC
  • Browser: Chrome
  • OS: WIN11
  • Provided sample code: No
  • Provided link: No