Conditional styling for list items

I would like to be able to add custom styling to list items based on certain conditions (similar to the way that action buttons can now be displayed only when they meet certain conditions).

Example:
I have a list of products. I want to highlight all products that belong to the logged in user with a special color.

A quick help could also be the ability to set custom css classes per item based on certain conditions.

4 Likes

Def upvoting this. See also our case here.

I have a prototype working for this. Would a step-by-step guide be helpful?

2 Likes

Hi @sahilkhosla ! That sounds great! Code/step-by-step instructions would be hugely appreciated!

This is a valuable feature that would satisfy multiple user requirements.

2 Likes

We are looking for the same feature. Would be great to have.

1 Like

Sounds good, will write it up soon!

2 Likes