Skip to main content
August 12, 2021
Solved

Dynamic columns in paging grid or vertical grid

  • August 12, 2021
  • 2 replies
  • 0 views

Hello Everyone,

Please let me know whether any one implemented adding dynamic columns in paging grid?

Actual query output
StudentName Age City
StudentA        15   LosAngeles
StudentB        16   Newyork
StudentC        17    Austin

Below is my requirement to display the data in vertical grid format
Requirement is below(Kind of vertical grids).

StudentName      StudentA   StudentB StudentC
Age                       15           16           17
City                      LosAngeles Newyork Austin

1)Question is number of students may be varying based on input conditions. So please let me know whether
can added dynamic columns in paging grid?
2) or did any one implemented vertical grid?

Thanks in advance

Best answer by stefanhelzle0001

About how many students are we talking? More than 15 will not make sense as you would have to scroll horizontally.

Implementation should be pretty simple with a foreach() to generate the columns.

What did you try and what was the result? Is there a specific question?

2 replies

stefanhelzle0001
Brainy
August 12, 2021

About how many students are we talking? More than 15 will not make sense as you would have to scroll horizontally.

Implementation should be pretty simple with a foreach() to generate the columns.

What did you try and what was the result? Is there a specific question?

baratcAuthor
August 16, 2021

Thanks Steve. I was looking limitations related to horizontal scroll part view for the end user. I think 15 makes sense, Thanks again