GroupSummaryEvaluate Event

2 posts, 0 answers
  1. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 06 Jul 2010 Link to this post

    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); 
                } 
            } 

  2. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 08 Jul 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top