Home - Forums-.NET - FlyGrid.Net (Windows Forms) - showing a pencil in the grid when updating

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

showing a pencil in the grid when updating
Link Posted: 09-Dec-2005 01:47
Hello!

I use the option flygrid.Rows.Options |= RowsOptions.ShowIndicators | RowsOptions.ShowRowHeaders;

The indicator is creating a column where the arrow points to the row I click on. This works fine.
When I write something in a cell a pencil is shown in the indicator column
which is correct.

Now to my problem when I change focus for the cursor the pencil is still
pointing to the changed row.

When I run the sample that exist for flygrid that use the option ShowIndicators the pencil is removed as soon as I change focus to another cell in the grid.

Why is not the pencil removed when changing focus to another cell?

//Tony
Link Posted: 09-Dec-2005 02:31
The pencil indicator shows that associated record is not updated to data source and record is in modified state.
See the Rows.UpdateMode property, NineRays.Windows.Forms.Data.UpdateMode enum and examples in the demo and FlyGrid reference how to update row info to data source.