getRowAttribute

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

mixed getRowAttribute(string|number rId,string name);

Parameters

rIdstring|numberrow id
namestringthe attribute's name

Returns

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

Back to top