I’m trying to load grid data in json format created from associative array, but receive blank rows as a result. If I do the same but with simple array (non-associative) everything works fine.
Example:
associative - doesn’t work
jsondata = {
rows:[
{
id:1,
data:[“date”:“2011-03-24”,“amount”:300]
}
{
id:2,
data:[“date”:“2011-03-25”,“amount”:400]
}
]}
non-associative - works fine
jsondata = {
rows:[
{
id:1,
data:[“2011-03-24”,300]
}
{
id:2,
data:[“2011-03-25”,400]
}
]}
Do you support associative data structures when loading as json and assigning to it grid columns by their ids and if yes what I did wrong in that case?
Thank you in advance.