Inserts a new item at position after specified item in TreeView directive.
|name||String||The value of name attribute of the TreeView directive|
|item||Object||The item to insert to the tree collection|
|refItem ||Object||A reference item after which the newly added item will be positioned|
This method does not return a value.
This method is part of IntegralUITreeViewService.
Supported in: v1.0.
Articles & Samples
- How to Add/Remove Items in TreeView for AngularJS
Learn how to add or remove items in TreeView for AngularJS using several different methods. Each operation is followed by events which can be handled in your code.
- Dynamically Add Items
A demonstration on how to add new items dynamically in the IntegralUI TreeView for Web, AngularjJS Directive.
A sample which demonstrates how you can create and/or modify a tree hierarchy using several different methods.