unSelect row by code in dhtmlxGrid

Hi,

Please, could you implement the unSelect method?

It’s same like this:

function unSelect(rowId) { var selecteds = boxgrid.getSelectedRowId(); selecteds = selecteds.split(","); boxgrid.clearSelection(); for (var i=0; i < selecteds.length; i++) { var item = selecteds[i]; if (item != rowId) { boxgrid.selectRowById(item, true, false, false); } } }

thx, Pedro A. Peláez

While there is no real API for such task, the next call will unselect selected row.

grid.doClick( grid.getRowById(rowId).firstChild , false, 2, false);