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.
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.
Thanks Mike, exactly what I needed!