我正在使用 ExtJS6.2 我有一个简单的 Ext.grid.Panel
this.selModel = Ext.create('Ext.selection.CheckboxModel', {
checkOnly: true,
injectCheckbox: 1
});
我需要网格中的数据以与网格中显示的数据相同的顺序。
如果我选择网格的所有项目,这工作正常。
selection = grid.getView().getSelectionModel().getSelection();
然后我取消选择网格中的一项 - 单击复选框
那么选择的顺序是不是搞混了呢?我怎样才能再次获得正确的订单?
提前致谢