Page 1 of 1

Apply css to list items based on criteria

Posted: Tue Mar 07, 2017 12:54 pm
by Deon

Hi

I have a list with a grid that contains text. When the listitem equals a certain criteria it must right justify the grid and change the background colour.

ie. List item contains the following labels within the grid.

Inout
Message

Condition to check for is....

If inout label = out then right justify the grid and colour the background.

Thank you


Apply css to list items based on criteria

Posted: Tue Mar 07, 2017 7:28 pm
by Serhii Kulibaba

Hello Deon,

Please apply a custom CSS class to the list item, based on the value, e.g. for even items - "even" and "odd" for odd items


Apply css to list items based on criteria

Posted: Sat May 06, 2017 6:36 am
by Deon

Hi
That wont work. It has to be based on the value of the label.