MaxT
04-05-2007, 10:56 AM
I have a question about getting data in JSON format for a paged grid.
Most of the data shows ok in three columns.
However, the third row of data (marked in red) doesn't show in the grid. This appears to be because of the duplicate value "1" in the first column.
Is this a bug, or can't you have duplicate rows in the JSON data?
Thanks for any suggestions.
Max
This is the start of the data, copied from Firebug.
{"assets":
[
{"ASSETID":"-","UNITIDENT":"-","ASSETFIELD1":"-"},
{"ASSETID":"1","UNITIDENT":"1","ASSETFIELD1":"1"},
{"ASSETID":1,"UNITIDENT":"1","ASSETFIELD1":"ABBEY CLOSE"},
{"ASSETID":2,"UNITIDENT":"2","ASSETFIELD1":"ABBEY CLOSE"},
...etc...
Most of the data shows ok in three columns.
However, the third row of data (marked in red) doesn't show in the grid. This appears to be because of the duplicate value "1" in the first column.
Is this a bug, or can't you have duplicate rows in the JSON data?
Thanks for any suggestions.
Max
This is the start of the data, copied from Firebug.
{"assets":
[
{"ASSETID":"-","UNITIDENT":"-","ASSETFIELD1":"-"},
{"ASSETID":"1","UNITIDENT":"1","ASSETFIELD1":"1"},
{"ASSETID":1,"UNITIDENT":"1","ASSETFIELD1":"ABBEY CLOSE"},
{"ASSETID":2,"UNITIDENT":"2","ASSETFIELD1":"ABBEY CLOSE"},
...etc...