您的位置:首页 > 其它

如何在sencha touch中将选中的item状态自动变为不选中

2011-11-09 17:14 274 查看
listeners: {

selectionchange: function (selectionModel, records) {
if (this.firstTime == true) {
this.firstTime = false;
}
else {
this.firstTime = true;
setTimeout(function () { selectionModel.deselect(records); }, 500);//关键代码
}
}
},
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  function