Repeated values in a grid?

1 Answer 41 Views
GridView
Bradley
Top achievements
Rank 2
Iron
Iron
Iron
Bradley asked on 15 Nov 2024, 06:33 PM

I really don't know how to describe this, so I had trouble with a good subject, or searching it out, but...

I have a grid with a lot of numbers.  In some of the columns, the value is repeated (identical) for each row.  I'd like to show those only once as some kind of header or summary row, but without their own grouping, per se, and without any kind of aggregate function working on them.  They all belong to the group that contains them.  Does that make sense?

Perhaps this picture can help:

Notice how all the values in "Volume," "Volume Last Week", "Volume Last Year" are the same?  I'd like them to show up only for the "Region" (which is the grouping containing this set).  I'm hoping this is easier to do than to explain. 😅

Thanks in advance!

Brad.

1 Answer, 1 is accepted

Sort by
0
Accepted
Stenly
Telerik team
answered on 18 Nov 2024, 08:39 AM

Hello Bradley,

For this requirement, you could utilize the merged cells functionality of RadGridView. This feature will group cells that have identical values.

More information on this functionality can be found at the following link:

WPF DataGrid - Merged Cells - Telerik UI for WPF

With this being said, could you give this suggestion a try?

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Bradley
Top achievements
Rank 2
Iron
Iron
Iron
commented on 25 Nov 2024, 05:43 PM

Yes, that was exactly what I needed.  Thanks!

Brad.

Tags
GridView
Asked by
Bradley
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Stenly
Telerik team
Share this question
or