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?
I'm sorry, but you lost me. I'm not sure what you are asking. Can you explain your question in more detail?
thanks for the answer!
i have one more question regard that.
i want to display for each group by row - how many records are in the group out of all the groups of the same parent. in order to define that i need the grid should be populated in all of the data. when i bind the datasource the grid is not populated yet. so how can i get this?
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.