how to populate subgrid from jsarray:
I have grid whichis getting poulated from jsarray and i want to populate its subgrid from jsarray too as soon as i click on expand based on some information from row expanded. can you pls assist me with some example?
Something like next can be used
[code]grid.attachEvent(“onSubGridCreated”, function(subgrid, id, index){
subgrid.setHeader(…)
… any other configuration of subgrid …
subgrid.parse(some_data, “jsarray”); //load data in subgrid
this.cells(id,index).resize(); //adjust sizes of subgrid to the loaded data
return false;
})[/code]