Event fired after the text label in a tree item is edited; may optionally return a different label value to save.
Parameter
<text expC>
The not-yet-posted text label.
Eigenschaft von
Beschreibung
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.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.