Check documentation for the latest version 6.0 of dhtmlxSuite setRowAttribute DHTMLX Docs

setRowAttribute

sets a row attribute

void setRowAttribute(string|number id,string name,mixed value);

Parameters

idstring|numberthe id of a row
namestringan attribute's name
valuemixeda new attribute's value

Example

<?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.setRowAttribute("unique_rowid","some","new value");

Back to top