DHTMLX Docs & Samples Explorer

onBeforeSelect Event

Required library edition: This method requires Professional Edition of the DHTMLX library

This event occurs a moment before a row in the grid is selected. onBeforeSelect event passes the following parameters:

  • new_row - new selected row;
  • old_row - old selected row.
        grid.attachEvent("onBeforeSelect", function(new_row,old_row){});