Exports the whole tree structure as tree or flat list in JSON format.
|name||String||The value of name attribute of the Grid directive|
|columnFields (optional)||Array||A list of all field names of column object that you want to export to JSON|
|rowFields (optional)||Array||A list of all field names of row object that you want to export to JSON|
|spacing (optional)||String||A string that determines the space between objects in exported JSON|
Returns a String in JSON format that reperesents the exported data of the Grid.
This method is part of IntegralUIGridService.
Supported in: v1.0.