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

getAttribute

returns the value of the specified item attribute

mixed getAttribute(string|number id,string name);

Parameters

idstring|numberthe id of an item
namestringthe name of an attribute

Returns

mixedthe attribute's value

Available only in PRO Edition

Details

The getAttribute() method allows getting attributes defined in datasource as well the attributes that are set via the setAttribute method. But attributes are not sent with Ajax request in case of using DataProcessor (userdata are sent).

Back to top