HI,
I have a grid which has only one row but around 25 columns. So,i want to romove horizontal scrolling and get the columns which are not visible in the space provided for the grid to be shown below the previous columns. Say something like columns 8-15 below columns 0-7 and ofcourse the corresponding row. Is ther any way to do it in the Grid?
Thank you
Navi
Hi Navi,
There are two ways you can do this. One way would be to use a RowLayout. This is easy if you have your grid bound to a data source at design-time in which case you can set up your columns right in the grid designer. It's a bit tricky to do at run-time unless you are familiar with GridBagLayouts.
The second way is using Groups and Levels. You simply add one or more Groups to the band, assign each column to a group, and then set the LevelCount on the band and set the Level of each column.
Hi,
Thanks for the reply and sorry for the dealy, i was stuck in some other work. So, i didnt try the way as i am binding datasource dynamically. In case of adding groups, the columns are coming below each other but the rows are not being shown. Its like a grid of column names. Any idea why?
Thanks