The grid there is no option to deselect or unselect a line or all lines previously selected
You may use the clearSelection() method to clear the selection of the grid.
docs.dhtmlx.com/api__dhtmlxgrid_ … ction.html
and when you have multiple rows selected and want to deselect some of them ?
Unfortunately it is not available to deselect a specific row from the grid programmatically.
You may deselect it by clicking on it with the “ctrl” key pressed.