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,
I am not setting any filters but i am setting cell editors using EmbeddableEditorBase and ValueList. Does it make any difference?
Thanks
Before adding the groups its working fine. All i am doing is add groups, add the columsn to the groups and set the levels. Thats all, i dont know where its going wrong.
Hi Navi,
If there are no rows in the grid, the only explaination is that there are no rows in the data source. Or all the grid rows are hidden for some reason. Perhap syou are applying filter.
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?
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.