DHTMLX Docs & Samples Explorer

cells(row_id, col)

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

gets dhtmlXGridCellObject object (if no arguments then gets dhtmlXGridCellObject object of currently selected cell)

  • row_id - row id
  • col - column index

Returns dhtmlXGridCellObject object.

   var cellObj = grid.cells(row_id, col);

See also: cells2, cellById, cellByIndex