Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Geenie on Sep 04, 2009 08:12
open dhtmlx forum
Dhtmlxfolders get userdata

I've got an app where we can switch the view from a dhtmlxgrid to dhtmlxfolders.

I have a problem trying to retrieve userdata from the folders... is there anything similar to the function getUserData() that I can use? If not, what would be the best option to retrieve the userdata?

Maybe the answer is simple, but I have looked through the API and knowledge base and couldn't find it.

Any help would be greatly appreciated!

Answer posted by Alex (suppot) on Sep 07, 2009 01:55

Hello, 

unfortunately, folders does't provide getUserData method. But there is method that allows to get item attributes:

var attr_value = folders.getItemDataObject(itemId).getAttribute(attr_name);