I have Json data something like this:
{
"Data":
{
"Columns":
[
{
"Name":"Name",
"Format":"string"
},
{
"Name":"Age",
"Format":"N2"
}
],
"Rows":
[
{"ExtensionData":{},"Cells":["Vikas", 23],"Emails":[{"ExtensionData": }, Email": [email protected]", "CellOrdinal":0}]},
{"ExtensionData":{},"Cells":["Vikram", 27],"Emails":[{"ExtensionData":{},"Email":"[email protected]","CellOrdinal":0}]},
]
}
"Grid Name":"Users"
}
}
}
I need to bind this to my grid.
The "Columns" tag contains grid column names. "Rows" contain records of the grid. Also there are some data like Name of the grid which is fetched from the database. It's a slightly complicated structure.
How to get this data into a store? How should my model be?