Im able to insert an element successfully into a grid provided that no tree type is specified. If a tree type is specified then im getting an error like this._h2.get[…].state is NULL or not an object . I know im doing something wrong with my XML File which im loading via loadXML method , But im not sure of it. Can you help me out with this issue


Krishna Prabakar

Please be sure that you XML doesn’t contain elements with ID==0 , such ID is reserved for virtual root item.
If problem still occurs for you - please provide used XML, which cause issue.

( also, based on error description, it occurs in betta version of dhtmlxTreeGrid 1.4, while it in betta testing, I recommend to use dhtmlxTreeGrid 1.3 which are more error safe for now )