DHTMLX Docs & Samples Explorer

getUserData(row_id, name)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

gets user Data

  • row_id - row id. if empty then user data is for grid (not row)
  • name - name of user data

Returns value of user data

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

See also: setUserData