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

Display Grid Columns Vertically (Transpose Grid)

5 Answers 2254 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pinal
Top achievements
Rank 1
Pinal asked on 26 Jan 2016, 11:48 AM

Hi,

I have a requirement in my project to transpose a grid (i.e. displaying tabular data in the flip axis so rows becomes columns and vice versa).

For example: Below is the data we typically display in kendo grid. It has 3 columns : Name, Age and City

Name             Age      City
John             35       New York
Brian            37       London
Tom              38       Phoenix

 

I want to display above data in below manner: 

Name    John        Brian   Tom
Age     35          37      38
City    New York    London  Phoenix

I noticed a server side solution of what I am looking for in a teleric blog (http://www.telerik.com/blogs/transpose-or-just-rows-as-columns), however I am looking as client side solution for it as rows will be added dynamically at run time on client event.

I also found few solutions on internet which partially solve the problem but they require to destroy the grid and then creating it all over again which I don’t want to do as I will lose existing unsaved data.

Please let me know if it’s possible to achieve using Kendo Grid.?  We use KendoUI for ASP.NET MVC and Kendo UI for HTML5.

5 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 28 Jan 2016, 10:06 AM

Hello Pinal,

 

I am afraid that such functionality can not be achieved with the KendoUI for ASP.NET MVC or Kendo UI for HTML5.

 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jenny
Top achievements
Rank 1
answered on 09 Dec 2016, 04:52 AM

Any  update on Pinal's question as on kendo updates currently? In my project also, I am coming across the same scenario  . 

Thanks in Advance, 

Jenny

0
Boyan Dimitrov
Telerik team
answered on 12 Dec 2016, 05:34 PM

Hello Jenny,

Unfortunately there are no updates about Pinal's question and this functionality is not implemented in the Kendo UI Grid widget. 

Regards,
Boyan Dimitrov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Walter
Top achievements
Rank 1
answered on 12 Mar 2018, 01:19 PM
Hello,

Is there any update on this issue?
Thanks in advance!

Regards
0
Viktor Tachev
Telerik team
answered on 13 Mar 2018, 12:51 PM
Hi Walter,

The functionality is not built-in for the Grid component. However, you can implement the feature using custom code. Please check out the resources below that illustrate how you can transpose the Grid rows.


Give the suggestions a try and let us know how they work for you.

Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Pinal
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Jenny
Top achievements
Rank 1
Walter
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or