Categories | Question details Back To List | ||
Grant total in footer Place Dear sir, i need grant total in footer page. i created the grant total like below. tableData1 = tableData1+"<row id=\""+(x+1)+"\"><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>Grand Total</cell>#cspan<cell>="+newStr+"</cell></row>"; mygrid.loadXMLString('<?xml version="1.0" encoding="UTF-8"?><rows ><%=tableData%><%=tableData1%></rows>'); Here the Grant Total should be displayed in the footer . without the scrolling down i need grant total. I means the grant total should be constant in the footer place. while doing the changes in price filed , i am calculating the Grant total. So please give the Suggession. Answer posted by Support on Sep 02, 2009 06:29 You can use stat-counters functionality http://dhtmlx.com/docs/products/dhtmlxGrid/doc/guide.html#grid_autocalcvals http://dhtmlx.com/docs/products/dhtmlxGrid/samples/filtering/pro_filter_num.html?un=1251899393000 http://dhtmlx.com/docs/products/dhtmlxGrid/samples/header_footer/pro_grid_footer.html?un=1251899402000 Footer can be added from XML through afterInit/call section in XML ( pro version only ) http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Headers_and_footers.html#grid_art_hdrftr |