Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Apply css to list items based on criteria

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Apply css to list items based on criteria

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

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Apply css to list items based on criteria

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

Return to “Issues”