How to add dynamic CSS on selected row from listview in Outsystems Mobile App??

How to add dynamic CSS on selected row from listview in Outsystems Mobile App??

  

I have a list of items and I want to change the background on selected ListItem using some custom CSS, Please help me out for this..


Thanks

Dileep

Hello Dileep.

Pedro already gave you a very nice solution here: https://www.outsystems.com/forums/discussion/34351/is-not-defined-referenceerror-is-not-defined/

What's the problem you're facing?

Cheers.

Eduardo Jauch wrote:

Hello Dileep.

Pedro already gave you a very nice solution here: https://www.outsystems.com/forums/discussion/34351/is-not-defined-referenceerror-is-not-defined/

What's the problem you're facing?

Cheers.

Hi Eduardo, I am using the CSS at run time I assign a boolean variable to ListItem, the problem is when I used OnClick and want to change the selected Row all other rows are also highlighted. So I want to handle that only, I want to change background on selected items only not all.


Thanks

Dileep