Hello,
I have made my grid with subgrid, I want to add paging on that subgrid. Is there anybody can help me with this?
There is no simple solution for such task ( it possible to attach a footer to subgrids and use it as paging - zone, but it requires a lot of custom coding )
If you have PRO version ( which is necessary for paging functionality ) - open ticket at support.dhtmlx.com
I have tried what you suggest, still not working for me. Do you have a sample code for me?
Something similar to the next
mygrid.attachEvent("onSubGridCreated",function(sub,id){
sub.setHeader("A,B")
sub.setInitWidths("100,100");
sub.init();
sub.attachFooter("<div style='width:100%; height:20px;'></div>,#cspan");
sub.enablePaging(true,2,2,sub.ftr.rows[1].childNodes[0].childNodes[0].childNodes[0],false);
sub.load("sub.xml",function(){
sub.callEvent("onGridReconstructed",[]);
mygrid.setSizes();
});
});