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

Swap column and rows

3 Answers 331 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 26 Sep 2013, 07:47 PM
Is there a for the grid to swap columns and rows?  Normally, your grid has a fixed number of columns, repeating for each row of data; the "next" row of data is immediately below the "current" row; and the user scrolls down to see more info.

I need to create a grid with a fixed number of rows, including a row "header" as the left-most column.  As data is populated, news columns will be added to the grid; each new tuple is added as a column to the right of the proceeding column.  The user also scrolls horizontally through the results.

Row/Column sizing will be fixed and I don't need to dynamically add/remove data, so it might be possible to create a single non-scrolling left column and massage the data.

What is the best approach?

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 27 Sep 2013, 08:51 AM
Hi Robert,

I am afraid that at present the requested functionality is not supported out of the box by the Grid control.
I believe that the control you are looking for is "Pivot Grid". Implementing it is currently under review. If you would like you may cast a vote for this feature at Kendo UI Feedback portal. The more votes it collects, the higher priority it will have when we build the next road map.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robert
Top achievements
Rank 1
answered on 06 Aug 2014, 03:25 PM
Pivot grid is not well suited to this usage; it is intended to group and collate data, and appears to have limitations on the number data attributes added on the left (without sub-groups).

Frozen columns is much closer to what I am looking for, but there still needs to be support for row templates in conjunction with frozen columns.
0
Nikolay Rusev
Telerik team
answered on 08 Aug 2014, 07:47 AM
Hello Robert,

Sadly it seems that we don't have widget/feature suited for your needs. 

Grid frozen columns doesn't support row template as it is one monolithic structure and cannot be split into two containers which forms locked and not-locked column sections.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Robert
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or