DHTMLX Docs & Samples Explorer

remove ()

Required library edition: This method works with any edition of DHTMLX library
Required library file: datastore_debug.js

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