在grid上添加事件:
onCheckRow: function(checked, rowdata, rowindex) {
for (var rowid in this.records)
this.unselect(rowid);
this.select(rowindex);
}
在grid上添加事件:
onCheckRow: function(checked, rowdata, rowindex) {
for (var rowid in this.records)
this.unselect(rowid);
this.select(rowindex);
}