I have json with a property having a dot "." operator in it. When I try to make my grid, it becomes empty (no error).
Here is my JSON:
{ "total":1, "page":1, "records":2, "rows":[{ "id":2110040, "cell":{ "function.code":"dsadad", "service.name":"dsadasda" } }, { "id":2115040, "cell":{ "function.code":"iuiyuiy", "service.name":"iyuiyuiy" } } ] }
this is my colModel
colModel : [ { name : 'service.name', search : 'true', editable : true, //index : 'service.name', width : 200, jsonmap : "cell.service.name" }, { name : 'function.code', search : 'true', editable : true, sortable:true, //index : 'function.code', width : 200, jsonmap : "cell.function.code" }],
JSON Reader:
jsonReader : { repeatitems : false, root : "rows", cell : "cell", id : "id", page : "page", records : "records" },
Please help, what am I missing here?
Thanks!