This is a migrated thread and some comments may be shown as answers.

GroupSummaryEvaluate Event

1 Answer 229 Views
GridView
This is a migrated thread and some comments may be shown as answers.
erwin
Top achievements
Rank 1
Veteran
Iron
erwin asked on 06 Jul 2010, 06:55 PM
1. Thanks for fixing the typo (shuld be documented in the Release Notes)
2. In my app The event does not get fired, I use it to add an indication about Item Counts per Group.

What's the strategy to update Group Summaries with custom data?
This is the code I currently use:

   void OctopusGridView_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e) 
        { 
            string suff = String.Concat(" (", e.Group.RowCount.ToString(), ")"); 
 
            if(e.FormatString.EndsWith(";")) 
            { 
                e.FormatString = e.FormatString.Substring(0, e.FormatString.Length - 1); 
            } 
 
            if (!e.FormatString.EndsWith(suff)) 
            { 
                e.FormatString = String.Concat(e.FormatString, suff); 
            } 
        } 

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 08 Jul 2010, 06:18 PM
Hello Erwin,

Thank you for question and feedback concerning our beta.

The implementation of the group row was not completely finished in the beta version and therefore the GroupSummaryEvaluate event is not fired. Your scenario will work fine with the official release coming next week.

Regards,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
erwin
Top achievements
Rank 1
Veteran
Iron
Answers by
Alexander
Telerik team
Share this question
or