Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable list component from changing colour when tapped on in sencha touch?

Tags:

sencha-touch

I would like to be able to disable an item in the list component from changing colour when tapped on in Sencha touch. Is there a way to do this? I browsed through the api documentation of the list component but couldn't see a configuration option that allowed this to be changed.

Thanks.

like image 748
David Watkins Avatar asked Jan 19 '23 18:01

David Watkins


1 Answers

Try setting the selectedCls to an empty string in the List's config.

like image 69
Stuart Avatar answered Apr 13 '23 00:04

Stuart