Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Enabled nodes

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

Enabled nodes
Link Posted: 16-Feb-2006 00:16
Hi,
Can i disable a node?
i dont want to be able to choose it.

thanks,
Guy
Link Posted: 16-Feb-2006 00:45
This possibility you can provide by two ways:
[list]
  • By overriding NodeBase.OnFocusChanging in the derived class,  if node can't be selected - this method should return false;
    Also you should override NodeBase.Selected property to avoid node from selection.
  • [/*:m]
  • By handling FlyGrid.NodeFocusChanging/NodeSelectedChanging events.
  • [/*:m][/list:u]