Home - Forums-.NET - FlyGrid.Net (Windows Forms) - justifying column.width seemes to freeze nested grid

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

justifying column.width seemes to freeze nested grid
Link Posted: 03-Mar-2006 10:00
Hallo

we are using the Flygrid in Version 1.3.3.0.
To provide powerfull application we must handle the grid layout based on user decisions. Therefore we set the width of each column in all nested grids. The grid layout looks like it should do. But the scrollbars of the outlying grids seemed to be frozen. Every action on the scrollbars of the main grid freezes the grid and allows the user to drink a cup of coffee (up to serveral minutes).  

The parameter for the column.fitmode is set to exact.

I hope you can help me to solve this phenomenon.

Thanks in advance for your help.
Link Posted: 07-Mar-2006 16:48
Did you tried to debug this problem?
Under VS debugger you can click Break All button when grid is freezes to look at place of current execution.
Also: Probably you've forgotten to finish some started FlyGrid.BeginInit() procedure by FlyGrid.EndInit()
Inspect your code for the FlyGrid.BeginInit and try to use following code construction:

[c#]
flyGrid.BeginInit()
try
{
  //here is your initialization code
}
finally
{
  flyGrid.EndInit();
}

[VB.Net]
flyGrid.BeginInit()
Try
  'here is your initialization code
Finally
  flyGrid.EndInit()
End Try