|
Edit data
Tuesday, 08 September 2009
Flexible TreeView allows you not only to display data, but also to edit it in–place.
To enable data editing, enable the Editable node control property (not supported by all node controls) and click that node control (also, see EditStartMode) or press a key, defined in the EditHotKey property. Flexible TreeView notifies about edit steps using events in this sequence:
When you start to edit by mouse click, Flexible TreeView will react only to clicks on the node control`s body, so if it contains no data, you can`t start to edit by mouse. You can tell the node control to fill all available free space, and then you can start to edit by click even on empty space. To do that, enable the FillFreeSpace node control property. On the other hand, using a shortcut, you can start to edit even for a node control with empty content.
EditStartModeModifying the EditStartMode property you can determine when to start data editing of each editable control.
You can delay the edit start by using the EditorShowDelay treeview property.
Additional API reference
|
|