Topic: Datatable - using of condition IF in MAP function?
Michal Betlach pro premium asked 2 weeks 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.
Kamila Pieńkowska staff answered 2 weeks ago
Yes, it is possible to add if condition to the map function. You can add logic before you return value during mapping.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- 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