Error when load grid in layout

hi i use this code and get error when load json data in grid.
string 154.
appendChild is null or undefined
this.obj.firstChild.appendChild(a)

what i did wrong ??? if i load this json file by dhtmlxgrid it’s works fine

[code]

[/code]

Hi
Have you include an extention

in the library?
We will fix it in online sample ASAP.
dhtmlx.com/docs/products/dht … _json.html

Darya i can’t find dhtmlxgrid_json.js in any folder in the dhtmlx suite 3.6 where is this file ?
In your link json load’s fine and when i load only grid on page my json file load’s fine too.

But when i add layout object on page and use grid in layout then i get error …

If you have a standard suit - you haven’t this extantion. It is PRO.

Darya in standart suite i can’t use grid in the layout object ?

You can’t use this extention: dhtmlxgrid_json.js
In this case i recommned you load data via XML

thx, Darya in the layout grid i can’t use setHeader function why ?? it’s only in pro ?

You can’t load grid from json, because this process need a PRO extention.
You CAN use method setHeader - it is standard method:
docs.dhtmlx.com/doku.php?id=dhtm … etheader&s[]=setHeader
If some method will be PRO - you will know about in via orange mark in it, i.e. method filterByAll:
docs.dhtmlx.com/doku.php?id=dhtm … ilterbyall
It has a mark: Professional

Here is a link with edition differences foк you:
dhtmlx.com/docs/products/dht … ions.shtml

Darya please can you help me again ? :slight_smile: when i load xml data it’s work fine, but when i try send in xml cell symbol < , xml parser has error .
I try send this text < 10%

You need to use RegExp:
w3schools.com/jsref/jsref_obj_regexp.asp