Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Column with changing/changed events

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

Column with changing/changed events
Link Posted: 23-Mar-2007 09:17
Hello,

Is there some event (or method) that I can be noticed when a column width is about to change, with the possibility to cancel this action before the column width is shown to the user?

Clodoaldo
Link Posted: 23-Mar-2007 10:10
You can use FlyGrid.ColumnWidthChanged for be notified when column's width changed. To allow/disallow column width changes you can use Column.AllowSizing property.
If you want to more flexible control column width changes, you can override Column.AllowSizing property in the Column's inheritor to provide your own logic.