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

[Solved] When group show total items in group description when not on next page?

1 Answer 214 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 17 Oct 2009, 11:30 AM
Hi

In RadGrid, when you group and the group continues on the next page, RadGrid automatically displays this:
"(Showing 7 of 65 items. Group continues on the next page.)"

Is there a way to ALWAYS show this when grouping? Even when group does not continue on next page? ie:
"(7 items)"

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 21 Oct 2009, 03:06 PM
Hello Michael,

You can try handling the ItemDataBound event and change the GridGroupHeaderItem text as described here. You can use the <GridGroupHeaderItem>.GetChildItems().Length property to get the count of the items in the particular group.

Let me know if this helps.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or