The checkbox selection doesn’t work for multi-select using shift keys. If I select the first record and hold the shift key and click on 5th record, it should select the records from 1-5. But here, it selects only record 1 and 5. It is really annoying for the users to select multiple records. Is there any fix for this? https://snippet.webix.com/krpzrcxd
After filters applied to the datatable, checkbox’s are still in checked state. But internally datatable doesn’t have any selections.
onAfterSelect:function(id){
console.log("onAfterSelect");
var item = this.getItem(id.row);
var status = item.status;
if (!status){
this.updateItem(id.row, {status:!status});
this.callEvent("onCheck", [id.row, "status", !status]);
}
},
onAfterUnSelect:function(id){
console.log("onAfterUnSelect");
var item = this.getItem(id.row);
var status = item.status;
if (status){
this.updateItem(id.row, {status:!status});
this.callEvent("onCheck", [id.row, "status", !status]);
}
}