Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to highlight rows based on condition?

apoorvmehta
Kilo Expert

The field style property under system UI allows highlighting a single field. But is there any possibility to highlight an entire row of the record?

3 REPLIES 3

maheshchougule
Mega Contributor

Hello Apoorv,



here by highlight an entire row of the record, are you referring to list row or an entire row on form view ?



Thanks!


Mahesh Chougule


Hi Mahesh Chougule, I meant entire row in list view


Hello Apoorv,



There is no out-of-the-box feature to implement this. However you can use a workaround of applying the style to the fields.



e.g. you can add the entry in the Configure -> Style for all the fields that you want to include in the list view.


You can add this styling based on the condition that you want, like value = javascript:current.caller_id.vip == true.



However, if users further customize the list columns then the styling do not applies to new columns, hence you need to revoke the Personalize_List privilege from your Users.



Hope this helps.



Thanks & Regards,


Mahesh Chougule.