Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 05, 2008 13:44
open dhtmlx forum
refresh the footer on cell value change by user

i am using Grid.attachFooter(.......,{#stat_total},....});

it gives me a total calculation on grid load. How can I refresh the footer to get new value of #stat_total when I changing some grid cell value?

Thanks.
Answer posted by Support on Nov 06, 2008 01:45
If cell changed by user actions ( edited ) - footer value will recalculate automatically. 
If you are changing value by API , you may force footer recalculation by 
         grid.callEvent("onGridReconstructed",[])
Answer posted on Nov 06, 2008 05:08
thank you! it works now!