i have data coming from server in following format
data = {col1:’data1′,col2:’data2′,children:[{col1:’data11′,col2:’data12′}]};
my datafields are define as
var src = datatype: “json”,
datafields: [
{name:’col1′, type:’string’},
{name:’col2′,type:’string’}
]};
when i set the data using src.localdata = data
in table it shows children data data11 and data12 is col1 and col2.. what i would expect that it should show data1 in col1… since that was the match.
i am using row details and in that i am using children to show up.. but it shows de default and it avoids the parent data..
how can i reslove that. i am using jqx datatable
Thanks