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

How to add empty group header item

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kelly
Top achievements
Rank 1
Kelly asked on 29 Sep 2010, 02:03 PM
I am using group by expressions to divide my grid into groups. I am using data that can exist in one of two groups, Group A and Group B for example. In some instances, data from one of the two groups is not present in the data source. I would still like to display a group header for the empty group and indicate that there are 0 (zero) records in the group. How do I go about adding a GroupHeaderItem to the Grid?

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 01 Oct 2010, 03:40 PM
Hello Kelly,

A grouped grid displays the groups for existing field values only. You cannot add an empty one. You can consider implenting your scenario with hierarchical grid.

Greetings,
Iana
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
Tags
Grid
Asked by
Kelly
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or