///
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