In my application I have a view grids. On each grid you can click print preview. All this click events are calling the same method, which is greating a UltraGridPrintDocument with "FitWidthToPages = 1". In every grid this works perfect without this grid:
You can see, that the "FitWidthInPages" doesn't work as expacted.
Additionally, you can see here the next curious thing. Here you can see the widest point of the grid but the scroll bar is really small.
I have one more: If I scoll a little bit. the expanders stays at thier places but the rows are moving. That looks really funny:
Can anyone give me a cause for this things?
The scrollbars in the grid account for all of the bands, not just the ones with visible rows in them. So my guess is that your grid is bound to a recursive data source or that there are a lot more bands in the grid and you can't see them because the parent rows are collapsed.
If you know you only need to display a fixed number of levels in the grid, try setting grid.DisplayLayout.MaxBandDepth and see if that helps.
Thanks for you replay.
I'm using Infragistics 7.3 with hotfix 1060.
The 3. issue is resolved by setting UseFixedHeaders to false.
The first and the second issue is still there. Do have have an other idea?
The first and second issue occures only at multi band grids with more than 2 bands.
The printing issue here looks like a bug. Are you using the latest Hot Fix? There was a bug in the PrintPreview dialog that was recently fixed and this could be the same issue.
Regarding the other two issues, this looks to me like you have UseFixedHeaders set to true.