Hi,
With the last version of Infragistics; 2009 vol 3, when I add a new row in a grid without change the datasource with properties set like below, this update automatically the height of the row but with the last version, 2010 vol. 1, this stop working.
This is what I set in the InitializeLayout of my grid:
Dim column As Infragistics.Win.UltraWinGrid.UltraGridColumn column = grdDetail.Columns("Description") column.Layout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.AutoFree column.CellMultiLine = Infragistics.Win.DefaultableBoolean.True column.CellDisplayStyle = Infragistics.Win.UltraWinGrid.CellDisplayStyle.FormattedText column.CellMultiLine = Infragistics.Win.DefaultableBoolean.True
After that, with the version 2009, vol.3, when I want to add a new row in my grid with text that contain carriage return, I must call the update of the new row : (grid.ActiveRow.Update) and this update automatically the height of the row.
With the last version of Infragistics, this stop working; the row is not refreshing with a new height. Now, I must refresh all the datasource of the grid with all the overhead that come with.
Please, could you tell me if this is a bogue or if you have changed the behavior and if this is the case, what is the method that I must call.
Thank you
It's hard to say without more information. How are you adding the row? Are you using the TemplateAddRow? Are you adding the row in code? Are you adding the new row to the grid or to the grid's DataSource?
Can you create a small sample project demonstrating what you are doing so I can test it out?
I create a simple DataSet with single table.
I put the dataSet into the grid like this: grid.DataSource = dataset
After that, when the InitializeLayout is raise, I set the column to be multiline and It's work perfectly for all rows.
I add new row directly in the dataset that update automatically my grid. The problem is here; the new row add in the dataset and show in the grid is not automatically updated to have the good height. Don't forget that the problem occur only with row that contain value with carriage return.
With the version 2009 vol.3 of Infragistics, I only have to call the method Update of each new row in the grid and these rows automatically autogrow to the right size.
But, since the version 2010 vol.1, the method Update don't work and is not acceptable for me to reassign a new dataset to the grid because the overhead.