Hi all,
I have a grid with three bands and/or more. It's a hierarchial grid. When I put the below line in the load event or set the same using display layout /override property, the first column size increases to a very great extent.
this.IOPointsGrid.DisplayLayout.Override.AllowColSizing = AllowColSizing.Synchronized;
I have attached the corresponding images with and without sync. Any help would be really very much appreciated.
If you take a look at the screen shot, you can see that the first column has to account for the indentation of each band. In other words, the first column in the root-level band has to line up it's right edge with the first column in the lowest-level band, and each band adds a little more indentation, so if you have a deep band structure, the width can add up.
If your data source is recursive, then you might be able to alleviate this problem a bit by setting MaxBandDepth to a more reasonable number than the default, which is 100. I recommend a setting between 5 and 8 for best performance and since most human users will be lost long before thet get 8 levels deep, anyway. :)
Another option is to adjust the Indentation property on the band. Less indentation means less extra width for the first column.
Thank a lot Mike, for incredible support on this. :-)
Regards
Samuel