Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
ReCalculating Totals in the Grid Footer
posted

I have a webgrid where I want to calculate the totals of the columns in the footer.  I created a formula in the footer section of the grid.  This required the WebCalcManager control.  Everything seems to work great until I edit the value in the grid.  When I change the value of one of the cells in the grid, the total does not recalculate.  What do I need to do to get the totals to recalculate?

Thanks,

Brian

  • 45049
    posted

    If you don't have the grid's AJAX functionality (XML Load-On-Demand) activated, then you need to trigger a postback.

    If I remember correctly, if the grid's AJAX functionality is active, this recalc happens as part of the process.  I haven't tested this myself, though, so I'm not 100% certain.

    What I am 100% certain about is that all WebCalcManager calculations happen on the server.  WebCalcManager has no client-side presence.