editItem

edits a Tree item

void editItem(string id,object config);

Parameters

idstringthe id of an item
configobjectoptional, the config object of an editor

Example

tree.editItem(id);

Related samples

Details

The config parameter includes the following properties:

  • mode - (string) the type of an editor:
    • "text" for an input
    • "select" for a select
  • options - (array) optional, an array of additional options
See also
Back to top