I have a GridView that's grouped. When the groups are collapsed, I want to have the number of items selected in each group show up in the "collapsed header" for that group. I've poked around, but it doesn't look like it's possible.
2 Answers, 1 is accepted
answered on 15 Feb 2012, 03:55 PM
Count and other aggregations may be performed only over data . The selection is state of the UI rather than data. In order to achieve such behavior you will need to reflect the selection state in your business object. For example you may add an IsSelected property to your business object which bound to the selection state of the row representing that object.
Then you can use regular aggregate function to show the selected items count per group even when it is collapsed.
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>