DHTMLX Docs & Samples Explorer

save(row_id)

Lets you to save row data in DB programmatically.

The method start to be available when the grid is bound to dataStore.

Parameters:

  • row_id - (string) the id of a row
var store = new dhtmlXDataStore();
 
grid.sync(store);
var selectedItem = myGrid.getSelectedRowId();
grid.save(selectedItem);

See also: