Footer in a split grid.

Please help me out from this problem :confused: , i want to attach Footer in a splitting grid(in two parts). Footer should be appear in div with class=“objbox”, not as the separate div. Please explain it with the examples and also explain the sequence of scripts.

Thanks.

The footer should be added before the splitting the grid.
For example:

mygrid.init(); mygrid.attachFooter("#stat_total,2,3") mygrid.setSkin("dhx_skyblue") mygrid.splitAt(1)

After the adding the split to the grid no headers/footers can be added or removed

Thanks for reply…:slight_smile:

I added your suggested script here but result is same, footer is added after horizontal scrolls, i want to attach footer before horizontal scroll in the grid and maintain the visibility even after scrolling(vertical scroll).

//My lines of scripts are here.
DhtmlxGrid = new dhtmlXGridObject(‘DhtmlxGrid_container’);
DhtmlxGrid.setImagePath(“image/images/”);
DhtmlxGrid.setInitWidths(“90,120,280,80,80,80,80,80,80,80”);
DhtmlxGrid.setHeader(GridHeaderName.substr(1));
DhtmlxGrid.setColAlign(GridHeaderAlign.substr(1));
DhtmlxGrid.enableTooltips(GridToolTip.substr(1));
DhtmlxGrid.init();
//should I addfooter script here??
DhtmlxGrid.splitAt(2);
DhtmlxGrid.loadXML(xmlFile, function() {
//function calling…
});

I apologize for misunderstanding you.
Unfortunately it’s not available to add footer before the horizontal scroll.