DHTMLX Docs & Samples Explorer

onRowIdChange Event

This event occurs after ID of row was changed ( changeRowId, setRowId, dataprocessor ).

          grid.attachEvent("onRowIdChange", function(old_id,new_id){
                    //any custom logic here
          });

Parameters:

  • old_id - old ID of row;
  • new_id - new ID of row.

At the moment of event calling, ID has been already changed.