I want to fill a grid with a complex json returned from a webservice.
My json contains two things:
> "data": array with the records that will fill the grid
> "columns": array with the config(layout) of the grid
I have successfully filled the grid with the "data" by specifying the model data.
My problem is that i cannot get the "columns" from the datasource. Is there a way to do it?
Here is my JSON
Here is how i fill the datasource
Here is my gridOptions