Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
18431 | Aug 31,2004 11:41 AM UTC | Sep 2,2004 02:06 PM UTC | WinForms | 3 |
![]() |
Tags: Grouping |
///
public override ITreeTableSummary[] GetSummaries(Table parentTable, out bool summaryChanged)
{
summaryChanged = false;
if (!MeetsFilterCriteria())
return parentTable.GetEmptySummaries();
else
{
SummaryDescriptorCollection sdc = parentTable.TableDescriptor.Summaries;
return sdc.CreateSummaries(this);
}
}
So, what you could do is derived a class from GridRecord and override this method and replace it with a simple call to
return parentTable.TableDescriptor.SummariesCreateSummaries(this);
Check out the GridPerf example. It shows how to derive from GridEngine, override its CreateXXX method(s) so that you can hook up your derived GridRecord class with the engine.
Stefan
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.