Hi,
I’m trying to use DHX 3.0 Pro with as much JSON as possible since it’s more efficient as far as JavcaScript and network. I could not find anywhere mentioning of how to set up the columns for the grid in JSON. Looking at the source code, it would seem like it is possible in XML only.
Would that be possible in JSON?
In our case we resorted to defining the columns in an XML response and the data load of the rows is using JSON. The problem is once we did that the kidsXmlFile call is using the XML instead of JSON (Remember we want the data retrieval at least to be in JSON). We had to forcefully change the call to use JSON instead.
Finally, once we tweaked that and got the correct parser to respond to the tree expansion in JSON, we tried to enable smart rendering.
It seems like when we first call the API to set up the columns(Remember, the only way was in XML), it initialized the _fillers structure that was never updated for the latter JSON data call. As a result the grid comes up empty if enabling smart rendering.
-Gabriel