Multiple selection of records thru checkbox selection using Shift key in datatable

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.

any workaround/ suggestions?

Hello!

You can use onAfterSelect event which fires after item was selected and onAfterUnSelect.
And it will looks like

 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]);
          }
        }              

Please check the sample: https://snippet.webix.com/dgvr3pnj