Page 1 of 1

How to set List Item backgrounds individually using Events

Posted: Mon Oct 27, 2014 7:54 pm
by Adam Skalenakis

Unlike nearly everything else, I can't seem to set list item properties individually, let alone through an event structure.

As for my particular setup, each list item is filled with an HTML box and no icon. I'd like to be able to push a button and have a specific list item switch to a different color background.

Does anyone have any idea how I could pull this off? Thanks.


How to set List Item backgrounds individually using Events

Posted: Mon Oct 27, 2014 8:55 pm
by Evgene Karachevtsev

Hello Adam,

Please make this with JS
preApperyio("mobilelistitem_16").css("background", "#ff0000")/pre


How to set List Item backgrounds individually using Events

Posted: Mon Oct 27, 2014 9:34 pm
by Adam Skalenakis

That worked for changing the color of the divider but not the cell itself


How to set List Item backgrounds individually using Events

Posted: Mon Oct 27, 2014 9:36 pm
by Adam Skalenakis

Excellent, thanks. It's working now