Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by damo on May 31, 2008 16:02
open dhtmlx forum
auto-calculated footer

After the .init() of the grid, the auto-calculated footer display "{#stat_total}"... can I force it to "0" when the grid is empty?
Answer posted by Support on Jun 02, 2008 02:23
You can force grid stat recalculation by next command
    grid.callEvent("onGridReconstructed",[])

after it , all footer values will be recalculated, and if grid has not data, #stat_total will be replaced with 0