Native JSON format

Does the treegrid support the “Native JSON format” as seen in this documentation?

docs.dhtmlx.com/grid__data_forma … jsonformat

I cannot seem to get it to work. In fact I cannot get it to work with just a regular grid.

This is the only error in the console:
TypeError: Cannot read property ‘length’ of undefined.

This is 4.1.1 Professional

It seems I can only get this work if I read the json object from a file. If I assign the object in a variable, it doesn’t work.

Well the issue I have is that the samples provided use the grid.parse(obj, “json”) syntax, which does not work. grid.parse(obj, “js”) works. Did this API change???

grid.load(url,“json”) - for basic dhtmlx json format
grid.load(url,“js”) - for the basic json format.

You can see it in the following tutorial:
docs.dhtmlx.com/grid__data_forma … jsonformat