de-selecting the rows in data table

I am using shift+up to select multiple rows sequentially in a data table. same with shift+down.

My scenario is :
suppose I selected an Item and I am pressing the shift+up key the items are getting selected sequentially in upward direction. At the same time when pressed shift+down the last selected item is not getting deselected.

how can I achieve this… any suggestions appreciated.

Thank you

You can override the moveSelection method of the component. It is called for each of selection related hotkeys.

Any sample for overriding the selection

http://forum.webix.com/discussion/4778/select-multiple-items-in-data-table#latest

@maksim: I am trying to get the selectedItem of the data table in moveSelection method, but I am getting the undefined value.

please refer this link : http://webix.com/snippet/e56c5758

It actually works, check the updated snippet

http://webix.com/snippet/32886cad