Check documentation for the latest version of dhtmlxSuite getRowAttribute DHTMLX Docs

getRowAttribute

returns the row attribute's value which was set in the XML tag

mixed getRowAttribute(string|number rId,string name);
rIdstring|numberrow id
namestringthe attribute's name
mixedthe row attribute's value set in the XML tag

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 = myTreeGrid.getRowAttribute("unique_rowid","some");

Back to top