DHTMLX Docs & Samples Explorer

getSelectedCellIndex()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

Returns index of selected cell or -1 if there is no selected sell

   var ind=mygrid.getSelectedCellIndex();

See also: getSelectedRowId