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
1179
WinGrid external summary calculator
posted

We have had a request that a particular grid in one of our applications provides summary totals that apply only to the selected rows in the grid. I got partway to implementing this using the UseExternalSummaryCalculator property and handling the ExternalSummaryValueRequested event, however this only fires when the data in the grid is loaded or changed. It doesn't fire when the user's selection changes. Is there a method I can call on the grid to force a summary refresh? If looked at ResumeSummaryUpdates(true), but my summary code wasn't called. 

Parents
  • 12480
    Verified Answer
    Offline posted

    Hi Kevin,

    You can force a summary to calculate by calling the Refresh method on the associated SummarySettings object. My recommendation is to call this method on each of your summaries in the grid's AfterSelectChange event handler.

    Please try this out and let me know whether it works for you.

Reply Children