Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cesco on Feb 11, 2008 02:16
open dhtmlx forum
initialize subgrid with dataprocessor object

Hello,

who can explain me how should I modify dhtmlXGridObject.prototype._sub_row_render of "dhtmlxgrid_excell_sub_row.js"
in order to initialize subgrid with dataprocessor object?

Thanks.
Answer posted by Support on Feb 11, 2008 02:36
dhtmlXGridObject.prototype._sub_row_render={
    ....
    "grid":function(that,d,td,c){
           td._sub_grid= new dhtmlXGridObject(d);
             ....
           td._sub_grid.loadXML(c,function(){
                var dp=new dataProcessor(url);
                dp.init(td._sub_grid);
                ....