Possible to group columns in a VirtualGrid?

1 Answer 17 Views
VirtualGrid
Ed
Top achievements
Rank 1
Ed asked on 03 Jan 2024, 11:28 PM

Hello!  I'm interested in the VirtualGrid control for WPF, since the demo looks very fast for very large data sets.  For our application, we want to show a column group header, to indicate that a set of columns are related to each other.  In this dummy example, the data for four people is displayed.  We'd like to indicate that there were four groups of results for each person, and have the results displayed under each group like so:



Ideally, the Row header (the name of each person), the Column headers and the Column Group headers should be fixed, so the user can scroll the rows and columns at will, but still see the headers.   We would also like to be able to capture mouse inputs when the user clicks on a column or row header or the group header, if possible.

Is something like this possible using the control? 
Thanks,
Ed

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin Ivanov
Telerik team
answered on 04 Jan 2024, 01:29 PM

Hello Ed,

RadVirtualGrid doesn't support column groups. However, there is a feature request for this. 

Currently, what I can suggest is to use different coloring of the cells in the columns in order go indicate grouping. I have attached a small sample project showing this approach. I hope it helps.

For the mouse inputs, you can check the following article.

Regards,
Martin Ivanov
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.

Tags
VirtualGrid
Asked by
Ed
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or