Premium support for our pure JavaScript UI components

Post by tikhonov.a.p »

Good afternoon. I can't find a way to add some css class to all rows in grid.
Tried using onTaskDataGenerated and taskRenderer
It turned out to be done only through the renderer on the column, however, this method has a flaw - it only works when a column is added to the display (

Tell me where to look.

Post by tikhonov.a.p »

found beforeRenderRow event

Post by marcio »

Hi tikhonov.a.p

Yes, if you want to add some validation to add or not a class based on the record value, beforeRenderRow is the one that you'll be using to update the cls field.

If you don't need to add any validation and just add some class to all the rows, you can use the column cls property

Best regards,

Post Reply