DataGrid Refresh BUG:
Situation:
When User A, B operates the DataGrid simultaneously (record 1, record 2, record 3). If a delete record 1, B is now selected record 1, record 2, then B click on the Refresh button in the paging, record 1 is not visible. But GetChecked will find that 2 records are selected (record 1 records 2) instead of a record 2.
One way:
Click the Refresh button again. Clears all the selected rows.
Easyui UI 1.4.2
Jquery.easyui.min.js
_5d4.pagination ({
Total: (Opts.pagenumber * opts.pagesize), PageNumber:opts.pageNumber, PageSize:opts.pageSize, pageList:opts.pageList , Onrefresh:function () {$ (_5CD). DataGrid ("Clearselections"). DataGrid ("clearchecked");}, Onselectpage:function (_ 5D5, _5d6) {
Opts.pagenumber = _5d5 | | 1;
Opts.pagesize = _5d6;
_5d4.pagination ("Refresh", {pagenumber: _5d5, PageSize: _5d6});
_611 (_5CD);
}
});
_5d4.pagination ({
Total: (Opts.pagenumber * opts.pagesize), PageNumber:opts.pageNumber, PageSize:opts.pageSize, pageList:opts.pageList ,Onrefresh:function () {$ (_5CD). DataGrid ("Clearselections"). DataGrid ("clearchecked");}, Onrefresh: Function () {$ (_5CD). DataGrid ("Clearselections"). DataGrid ("clearchecked");}, Onselectpage:function (_5d5, _5d6) {
Opts.pagenumber = _5d5 | | 1;
Opts.pagesize = _5d6;
_5d4.pagination ("Refresh", {pagenumber: _5d5, PageSize: _5d6});
_611 (_5CD);
}
});
Easyui The paging refresh button for the DataGrid