How to disable list component from changing colour when tapped on in sencha touch?
I would like t开发者_开发知识库o 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.
Try setting the selectedCls
to an empty string in the List's config.
listen the 'select' event on list component and return false
精彩评论