AjaxSource - json Dictionary

AjaxSource - json Dictionary

rafirafi Posts: 1Questions: 0Answers: 0
edited December 2013 in General
I want to use a dictionary object as my source for table data and not an array of objects.
For example the json would be:
[code]
{data:
{
{key1: {a: 1, b: 2},
{key2: {a: 25, b: 5},
}
}
[/code]
The table would be:
[quote]
Row 1 - [ 1, 2]
Row 2 - [25, 5]
[/quote]

Is this possible?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Currently no - it needs to be an array. You would need to run a little loop to transform the object into an array. Sorry.

    Allan
This discussion has been closed.