DHTMLX Docs & Samples Explorer

remove ()

Removes item by the ID.

//ids of bound component's items and dataStore items' ids coincide.
var id = myGrid.getSelectedRowId()
data.remove(id)

Parameters:

  • id - the id of the item in question