Check documentation for the latest version of dhtmlxSuite getAttribute DHTMLX Docs


returns the value of the specified item attribute

mixed getAttribute(string|number id,string name);
idstring|numberthe id of an item
namestringthe name of an attribute
mixedthe attribute's value

Available only in PRO Edition


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