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!
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);