Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1120
To make the last columns occupy the next row in the space alloted to the grid.
posted

 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

 

 

Parents
  • 469350
    Verified Answer
    Offline posted

    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. 

Reply Children