Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Set Cell IsEditable

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

Set Cell IsEditable
Link Posted: 15-Jan-2006 20:15
Hi,

Is there a way to set "IsEditable" to a specific cell?

thanks.
Link Posted: 16-Jan-2006 03:04
If you about prevention of some node/cell from editing:
1. You can set NodeBase.ReadOnly to true to prevent some node from editing.
2. You can use Column.ReadOnly to prevent cells of column from editing.
3. You can use FlyGrid.IsReadOnly event handler to dynamically disable/enable editing of some nodes/cells. See the Tree/ListView sample for locking rows from modification.
Link Posted: 17-Jan-2006 22:11
I tryd to do what uo sayd, but i still cant set this property on a single cell.
i want to be able to do the following:
in a specific row some cells editable, and some not
can i do this?
Link Posted: 18-Jan-2006 10:59
Use FlyGrid.IsReadOnly event handler for these purposes.
See the Tree/ListView sample.
Additional info: You can use FlyGrid.Columns.CurrentColumn in this handler to determine the cell that comes to be editable.