【发布时间】:2015-12-25 07:53:01
【问题描述】:
我正在为我的网格中的点击记录应用 css,如下所示
listeners: {
select: function(record,rowIndex) {
this.getView().addRowCls(rowIndex, 'green');
}}
我需要检查css是否存在的条件,我正在尝试这样检查
select: function(record,rowIndex) {
this.getView().addRowCls(rowIndex, 'green');
if(this.getView().hasCls('green')){}
}
总是返回 false。请帮帮我...
【问题讨论】:
标签: extjs4.2