[Data Grid] [How To] Set CSS for a row based on row data

Forge Component
(32)
Published on 4 Dec (11 days ago) by OutSystems R&D
32 votes
Published on 4 Dec (11 days ago) by OutSystems R&D

Hi All,

Can anyone guide me on how best to set row css triggered by particular row data, I know you can do it using OSCellRenderer on the columns but this is problematic as the columns can be removed using the remove menu then the javascript will not fire, I could put the code into each columns OSCellRenderer and assume the user won't remove every column but that seems overkill. also is there any way to block/not show a particular column on the remove menu as I could put it on that column?

Thanks

Neil