Check documentation for the latest version of dhtmlxSuite getUserData DHTMLX Docs

getUserData

gets user data

mixed getUserData(string|number row_id,string name);
row_idstring|numberrow id, if empty, user data of the grid (not of a row)
namestringname of the user data
mixeduser data value

Example

//get row user data
var userdata = myTreeGrid.getUserData("unique_rowid","someName1");
//get global user data
var userdata = myTreeGrid.getUserData("","someName1");

Back to top