meshulro
9 Mar 2011, 5:53 AM
Hi all,
As you know, the typical grid displays data per column, each column has its header which tells the user what is shown in that column.
In my case, I want to create dynamic grid where each time the user clicks a button a column is added, in this case the rows are actually the data titles, i.e. instead of having "Price" column i have "Price" row. Anyone had a case like this?
To help you visualize it, think of a mortgage calculation application where each click adds another payment:
Year 1 ¦ Year 2 ¦ Year 3 ¦ Year 4 ¦ Year 5 ¦ Year 6
principal:
interest:
total:
- Add year -
Users feel more comfortable viewing this information in this layout in case you wonder why I don't follow the typical grid where years have been the rows.
Anyone?
As you know, the typical grid displays data per column, each column has its header which tells the user what is shown in that column.
In my case, I want to create dynamic grid where each time the user clicks a button a column is added, in this case the rows are actually the data titles, i.e. instead of having "Price" column i have "Price" row. Anyone had a case like this?
To help you visualize it, think of a mortgage calculation application where each click adds another payment:
Year 1 ¦ Year 2 ¦ Year 3 ¦ Year 4 ¦ Year 5 ¦ Year 6
principal:
interest:
total:
- Add year -
Users feel more comfortable viewing this information in this layout in case you wonder why I don't follow the typical grid where years have been the rows.
Anyone?