Hi,
When I change height of the SelectedRows in the event AfterSelectChange or in the event BeforeSelectChange, all the rows of the WinGrid are altered.
I use more one band in the grid. How I solve this problem?
Thanks
By default, all of the row heights are synchronized. To allow variable-height rows, you need to set the RowSizing property on the Override to Free.
You may use following code to achieve the desired results:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
{
e.Layout.Override.RowSizing = RowSizing.Free;
}
private void ultraGrid1_AfterSelectChange(object sender, Infragistics.Win.UltraWinGrid.AfterSelectChangeEventArgs e)
// Set the height of active row.
this.ultraGrid1.ActiveRow.Height = 40;
Vaibhav
Ok, tks.
It worked.