DHTMLX Docs & Samples Explorer

getAllRowIds(separator)

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

gets a list of all row ids in grid

  • separator - delimiter to use in list (optional, comma by default)

Returns list of all row ids in grid

   //return list of row ids with comma delimiter
   var ids=mygrid.getAllRowIds();
   //retrun list of row ids with dot delimiter
   var ids=mygrid.getAllRowIds(".");

See also: setRowId, getRowId, getRowIndex, getSelectedRowId