Unable to call loadJSON using dhtmlxTree 3.0


I am getting the following error in Chrome, when trying to use the loadJSON method on a dhtmlxTree object.

Uncaught TypeError: Object # has no method ‘loadJSON’.

I searched through the source code that I included for dhtmlxTree, but didn’t find a reference to JSON at all.

Did I miss an include file? Or did I make another obvious mistake?

Please see a demo at:

There should be a Tree view appearing under “Main Page” panel.

Thank you for your help!


you need to include dhtmlxtree_json.js extension.

Worked great. Thank you so much!