Bug fix in codeSource of dhtmlxgrid_json.js v.3.0 build 1107

the method is _process_json is bug : because certainly Obfuscators code

partial code of method

Before bug fix

try { a && a.xmlDoc ? eval("data=" + a.xmlDoc.responseText + ";") : typeof a == "string" && eval("data=" + a + ";") } catch (b) { dhtmlxError.throwError("LoadXML", "Incorrect JSON", [a.xmlDoc || a, this]), a = {rows: []} }
After bug fix

try { // fix data -> a in eval function a && a.xmlDoc ? eval("a=" + a.xmlDoc.responseText + ";") : typeof a == "string" && eval("a=" + a + ";") } catch (b) { // LoadXML -> LoadJSon dhtmlxError.throwError("LoadJSON", "Incorrect JSON", [a.xmlDoc || a, this]), a = {rows: []} }

I did the same. There needs to be a tree member variable which you can set the subsequent requests with.
This is more of a hard-coded solution for those people who use JSON to respond to branch expansion requests.

-Gabriel

In which version?

in the title

Mine was done in DHX Pro v.3.0 build 110707.

Yes, i saw it after posting. :blush: