Home - Forums-.NET - FlyGrid.Net (Windows Forms) - BeforeEdit/AfterEdit

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

BeforeEdit/AfterEdit
Link Posted: 22-Jan-2006 19:55
Hi,
do i have events that fires before the grid enters to edit mode on specifec cell and after.


i tell you y i need this...
i want in this event according to some logic decide if i want the user to be able to edit this cell or not.


can you give me an idea gow to do this?

thanks, Guy
Link Posted: 23-Jan-2006 16:48
use FlyGrid.IsReadOnly event for these purposes.
To determine column in this event handler, use following code construction:
[C#]
Column currentcolumn = FlyGrid.Columns.VisibleColumns[FlyGrid.Columns.CurrentColumn];
Link Posted: 23-Jan-2006 20:03
when does this event fires?
Link Posted: 24-Jan-2006 07:55
This event fires before cell is coming to editable, you can return False in this event handler to make cell edtiable, or disable editing by returning True
Link Posted: 25-Jan-2006 02:50
Hi,
i done it, and it works!

i only have one problem...

for some reason this events fiers 3 times every time he want to go to edit mode on one cell.

can you check this please?
Link Posted: 25-Jan-2006 10:15
Thanks, we'll check this problem.