Skip to content

onEditorChange

fires when the native oninput event occurs for an HTML input (select, text)

function onEditorChange(
// the cell object
cell: object,
// the new value typed into the editor
value: string
): void
datagrid.attachEvent("onEditorChange",function(id, value){
// some code
});

also check the next samples:

The cell parameter has the following properties:

  • row (number,string) the row ID,
  • column (string) the column ID.