store.on('load', function(store, records, options) {
sm.clearSelections(); //清空数据
Ext.each(records, function(rec) {
if (rec.get('selected')) {
sm.selectRow(store.indexOf(rec),true);
}
})
});
Powered by: 博客园 Copyright © 2024 奥客 Powered by .NET 9.0 on Kubernetes