updateItem

updates the data item with new properties

void updateItem(number|string id,object data);
id
number|stringthe item ID data
objectthe object with properties

Example

var id = dtable.getSelectedId(); 
var item = dtable.getItem(id.row);
item[id.column] = "some_new_value";
 
dtable.updateItem(id.row, item);

Related samples

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.