|
Title: edatagrid - working with nested JSON data Post by: Stefan B. on February 14, 2014, 05:53:31 AM Hello. I have a edatagrid and JSON data with nested field values like this:
Code: [{"id":19,"idObject":{"systemId":"sbr_001","applicationAssignment":"Testgebiet 22","applicatioContact":"Stefan"}]Now if i cklicked on an row to edit the data, the values of the field idObject.applicationAssignment not shown correct in the editor of the text field. The editor field are empty - why? Update: My Test Solution: Code: onDblClickRow: function(rowIndex, rowData) {Is this correct sollution or is there a better way to do this? Title: Re: edatagrid - working with nested JSON data Post by: stworthy on February 14, 2014, 07:50:12 AM Please don't use the nested data on a editable data grid. It is easy to convert to normal json data by using 'loadFilter' function.
Code: $('#dg').edatagrid({ |