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

Grouping the columns in RadGrid

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kunal Bagga
Top achievements
Rank 1
Kunal Bagga asked on 27 Jan 2014, 04:38 AM
Hi Team, 
I would like to know whether can I group the columns in RadGrid like the same way we group the rows. 

Eg:
Name | 2014 [-] | Jan| Feb | Mar | Apr |  .. | Dec | 2015 [-] | Jan | Feb | Mar |...
Richa |         | 12 |  40 | 50 | .............|          |  15 | 70   | 30  | ...
(Please find the attachment for more information)
-------------------------------------------------------------
I have tried creating a button in <HeaderTemplate> of 2014.. etc
and changing the visibility of Jan, Feb,.. based on the click.  It is working well. 

I would like to know are there any other way where we can achieve the same functionality like the same way we group the Rows without disabling/enabling the columns?

Thanks . 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 28 Jan 2014, 08:41 PM
Hello Kunal,

There is no built-in functionality that could allow you to group the column as in your requirements. The only possible approach is the one that you have already implemented - changing the Display/Visible property of the columns to true/false when a button is clicked.

If you think that such functionality would be a good addition to RadGrid you could create an item in our Ideas & Feedback Portal and if there are enough votes for it, our developers team could consider implementing it in one of our future releases.


Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Kunal Bagga
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or