Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
ultra grid group by
posted

hi,

i use the sort column function to define group by columns.

the number of records under the group is written near the grouped by column.

i want to change the it from number of column to coverage percentage. i want to define the calculation by myself. how can i do this?

also how can i get in code the summery text that is written near the grouped by column?

can u show me an example? 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    The default text of the GroupByRow is determined by the GroupByRowDescriptionMask property. This property allows you to use certain replacement code in the string like the row count.

    But if you need to do more complex calculations, then what you can do is handle the InitializeGroupByRow event of the grid. This event passes you a GroupByRow and you can set the Description on the row to whatever text you want.

Children