Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Another Column Move Event

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

Another Column Move Event
Link Posted: 27-Jan-2007 22:26
Hi,
Can you add an event that occurs after you reorder the columns?
i want to save this new order.

If I try to implement this in the columnmove event it does not work good, because you do the same code after the event.

Hope you understood me,
Guy.
Link Posted: 28-Jan-2007 02:07
You can use FlyGrid.ColumnMove event for these purposes.
But you can use Columns.GetColumnMap to receive original columns order. Usage of this method you can find in the customStylesGridForm.cs (or .vb) and spreadSheetFrm.cs (or .vb)
Link Posted: 28-Jan-2007 03:19
I saw in your code, that you fire the ColumnMove event before you reorder the columns.

I need an event the will fire AFTER you reorder the columns
Link Posted: 28-Jan-2007 10:06
The nearest FlyGrid.Net update will contain ColumnMoving event that fire before column reordering and ColumnMove that fires after column reordering.
Link Posted: 28-Jan-2007 15:49
Great!
that is just what i wanted!

this is in the 1.4.3 version, right?
Link Posted: 29-Jan-2007 01:47
Yes.