开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜