I used UltraDataSource to create the data structure shown below.
Band 0
Group 0
Level 0
Column 1
Column 2
Column 3
Column 4
Level 1
Column 5
Column 6
Column 7
Column 8
When I display the UltraWinGrid I group by column 0.
I would like to freeze column 1 and column 5 which are on top of each other. Setting Fixed property to true for both of these columns do not work. Is this possible?
Hi,
It looks like you are either using CardView or Rowlayouts to get the columns to stack up vertically. Fixed Columns are not supported in either of those cases. You can only fix column in the standard mode.Columns can only be fixed to the left or the right. Fixing a column in the hierarchy you have here doesn't really make sense. I'm not sure what that would look like.
Maybe you need to re-organize your data and fix some of the rows, rather than the columns.
I am afraid I was not clear with the layout. What I showed in my original question is the structure in the database. I am using "Groups and Levels". This is what the grid layout looks like this (Grouped by Column 0). I have two-row column headers.
+Column 0
Column 1 Column 2 Column 3 Column 4
Column 5 Column 6 Column 7 Column 8
Now, I want to fix columns 1 and 5. Is it possible to have fixed columns when I am using "Groups and Levels"? If so, how is that done?
that works!!! Thanks again.
grid.DisplayLayout.Bands[0].GroupHeadersVisible = false;
Mike, thank you very much. That worked great. However, since I have two groups I have two group captions displayed. Is it possible to remove that group caption row all together? I don't mean just hide the captions but remove the group header row so that the grid layout looks like this.
+ Column 0
Okay, that makes a lot more sense.
When groups are displayed in the grid, then you can only fix groups, you cannot fix a column.
So what I recommend is that you create another group which contains columns 1 and 5. Then you can fix that group.