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
790
Grid column resize problem
posted

Hi,

I have the following scenario:

- Loading a metro .isl file and set the resolution order for the grid to ControlThenApplication.

- 3 sample grids which all use the same bindingsource for their data.

- AutoFitStyle is set to ExtendLastColumn.

After the bindingsource is set and i do a PerformAutoResizeColumns on the three grids:

List<test> t = new List<test>();
t.Add(new test() { col1 = "123456789012345", col2 = "aaaaaaa" });
t.Add(new test() { col1 = "123456", col2 = "bbbbbbbb" });
t.Add(new test() { col1 = "1234567", col2 = "ccccccc" });

this.bindingSource1.DataSource = t;

this.ultraGrid1.DisplayLayout.PerformAutoResizeColumns(false, Infragistics.Win.UltraWinGrid.PerformAutoSizeType.AllRowsInBand);
this.ultraGrid2.DisplayLayout.PerformAutoResizeColumns(false, Infragistics.Win.UltraWinGrid.PerformAutoSizeType.AllRowsInBand);
this.ultraGrid3.DisplayLayout.PerformAutoResizeColumns(false, Infragistics.Win.UltraWinGrid.PerformAutoSizeType.AllRowsInBand);

I get the following output:

screenshot

The last grid is missing the '5' character.

Parents
No Data
Reply Children
No Data