Tuesday, 27 August 2013

How to add css for active item of a list in Sencha touch 2.2.1

How to add css for active item of a list in Sencha touch 2.2.1

I am using list in sencha touch 2.2.1. And I have to add css only on
active item of that list. I try following:
listItems.getActiveItem().addCls('gigaspace');
But it add that 'gigaspace' class to whole list and not to active item.
So, how can I add css for active item of a list.

No comments:

Post a Comment