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

Transposing rows and columns with the grid control

6 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Colin
Top achievements
Rank 1
Colin asked on 21 Sep 2013, 04:52 PM
Hello,

We have a big requirement that would basically involve flipping the rows and columns of a grid so the client can view data in a spreadsheet like way.  For example if we have:

Header1 Header 2
Data1       Data2
Data3       Data4

We want:

Header1 Data1 Data3
Header2 Data3 Data4

We have been researching the forums but cant find a standard way to do this.  If this is possible with the kendo grid with custom templates or another control can you please point us in the right direction?

Thanks!

6 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 23 Sep 2013, 11:13 AM
Hello Colin,

The Kendo UI grid widget doesn't support the requested behavior. The column headers are always rendered on top as table headers. I am afraid no Kendo UI widget supports the behavior you have described.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Sean
Top achievements
Rank 1
answered on 20 Oct 2013, 04:52 AM
I am interested in the same functionality, and contemplating ditching KendoUI for our solution unless there is a way to show our data in a 'transpose' fashion as mentioned above. Could you point me in any direction, or samples where I could provide some basic functionality using a workaround? 
Thanks!
0
Atanas Korchev
Telerik team
answered on 21 Oct 2013, 06:43 AM
Hello Todd,

 The situation hasn't changed since my last reply. The Kendo UI grid doesn't support the requested behavior. Neither does any other Kendo UI widget.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Colin
Top achievements
Rank 1
answered on 21 Oct 2013, 12:50 PM
Todd,

We have looked all over for any type of grid control that can be flipped and other than a silverlight one provided by Telerik they don't exist.  What we ended up doing was manually creating the table with the Razor 2 view engine.  If you want it to look like a kendo grid you can add the kendo style sheets to it.  Basically if you stick with any type of strongly typed view that is directly bound to the grid you will not be able to get the flipped functionality.

Colin
0
Sean
Top achievements
Rank 1
answered on 21 Oct 2013, 06:23 PM
Colin,

Thanks. I went with another solution for now. I found it hard to believe there are no working samples for what I was asking for on the Telerik side. Envision the properties window in Visual Studio, that's exactly what I'm after, call it what you may. I know the Kendo product is maturing, that's why I've shied away from using it until now. Note, I will look forward to replacing my AutoComplete control with a KendoTextbox...

Thanks to both,
Todd
0
Paul
Top achievements
Rank 1
answered on 18 Mar 2015, 02:29 PM
Is this still not available? I'll be using another company's grid as well.
Tags
Grid
Asked by
Colin
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Sean
Top achievements
Rank 1
Colin
Top achievements
Rank 1
Paul
Top achievements
Rank 1
Share this question
or