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

Swap Columns and Rows

11 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Cristiano
Top achievements
Rank 1
Cristiano asked on 14 Feb 2012, 06:36 PM
Hi,
Is there an easy way to swap columns and rows of a radgridview? Columns in the rows and viceversa... 
thanks,


11 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Feb 2012, 12:31 PM
Hi Christiano,

Thank you for writing.

Currently, RadGridView does not support the requested functionality. We have such a request in our wish list and we will consider its implementation for a future release.

I hope that you find this information helpful.
 
Greetings,
Stefan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Philip
Top achievements
Rank 1
answered on 07 Mar 2014, 02:45 PM
Hi,

Has this functionality been added yet?

Regards,

Phil
0
Stefan
Telerik team
answered on 10 Mar 2014, 03:17 PM
Hello,

Thank you for writing.

Currently, such a layout is not supported by RadGridView. Such a functionality would require changing the RadGridView layouts quite a bit, which is not a trivial task. If there is demand for such a functionality in future, we will consider it. 

I hope you find this information useful.

Regards,
Stefan
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
JJ
Top achievements
Rank 2
answered on 14 Jul 2014, 02:06 PM
Has this functionality been added yet?
0
JJ
Top achievements
Rank 2
answered on 14 Jul 2014, 02:07 PM
It will be one solution to my problem:
http://www.telerik.com/forums/rad-grid-batch-mode-different-controls-per-row
If you have any other solutions it will be kind...
0
Stefan
Telerik team
answered on 15 Jul 2014, 07:35 AM
Hi JJ,

No, this functionality has not been added yet. As I previously mentioned, this would require quite a redesign of RadGridView and we will include such feature only in case of high demand. So far there are just three requests for the past 2 ½ years. 

Also, the forum thread you have mentioned concerns Telerik UI for ASP.NET AJAX, while this forum concerns Telerik UI for WInForms. If you are using the ASP.NET AJAX suite, you can ask in the other thread if their grid supports such functionality.

I hope this helps.

Regards,
Stefan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
JJ
Top achievements
Rank 2
answered on 15 Jul 2014, 08:16 AM
It might work if I can add an ItemTemplate and EditTemplate in a GridDataItem cell in the ItemDataBound event? 
0
JJ
Top achievements
Rank 2
answered on 15 Jul 2014, 08:18 AM
3 people can change the course of time, haha
0
Stefan
Telerik team
answered on 15 Jul 2014, 11:03 AM
Hi,

As I mentioned this forum concerns the Windows Forms suite that Telerik offers. For the ASP.NET AJAX grid, please use the other thread you have posted.

Regards,
Stefan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Kyle
Top achievements
Rank 2
answered on 23 Aug 2017, 05:29 PM
Has this been added in the last few years?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Aug 2017, 08:27 AM
Hello Kyle, 

Thank you for writing.  

RadGridView does not support the transpose feature and currently, it is not scheduled. Currently. I would suggest you to manually transpose the data and then use it as a data source for the grid. More information can be found on the following pages:
https://www.codeproject.com/Articles/44274/Transpose-a-DataTable-using-C
https://stackoverflow.com/questions/14919969/transposing-columns-in-gridview
https://social.msdn.microsoft.com/Forums/en-US/9011dce9-2ab7-476f-9a79-99df0212b8ee/simplest-way-to-transpose-a-datagridview-in-another-windows-form-in-c?forum=winforms

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Cristiano
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Philip
Top achievements
Rank 1
JJ
Top achievements
Rank 2
Kyle
Top achievements
Rank 2
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or