Event fired after the text label in a tree item is edited; may optionally return a different label value to save.

Parameters

<text expC>

The not-yet-posted text label.

Property of

TreeView

Description

onEditLabel fires after the user has pressed Enter or clicked away to submit their label change.

If the onEditLabel event handler returns a character string, that string is saved as the text property of the tree item instead of <text expC>. If the event handler returns any other type, or returns nothing, <text expC> is used as-is.