DHTMLX Docs & Samples Explorer

getRowAttribute(rId, name)

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

returns row attribute value which was set in the <row> xml tag

  • rId - row id
  • name - attribute name
   <?xml version='1.0' encoding='iso-8859-1'?>
        <rows>
            <row id="unique_rowid" some="data">
                    <cell some="data">cell content</cell>
            </row>
        </rows>
   ...
   var rowAttr = grid.getRowAttribute("unique_rowid","some");

See also: setRowAttribute