Hi Harshad,
You would have to derive the ChildTable and override the GetSummaries method to find the summary changes in a grid. Here is a code snippet to show this.
public class GroupingChildTable : ChildTable, IGridGroupOptionsSource
{
public GroupingChildTable(Element parent): base(parent){}
public delegate void TableSummaryChanged(object sender,Syncfusion.Collections.BinaryTree.ITreeTableSummary[] ITableSummary);
public event TableSummaryChanged SummaryChanged;
public override Syncfusion.Collections.BinaryTree.ITreeTableSummary[] GetSummaries(Table parentTable, out bool summaryChanged)
{
Syncfusion.Collections.BinaryTree.ITreeTableSummary[] ITableSummary = base.GetSummaries (parentTable, out summaryChanged);
if( summaryChanged)
if( SummaryChanged != null)
SummaryChanged(this,ITableSummary);
return ITableSummary;
}
#region IGridGroupOptionsSource Members
//default code here....
#endregion
}
Please refer to the attached sample for implementation.
GGCDetectSummaryChanges.zipBest Regards,
Haneef