add(obj, index, parent)

  • Type: Method
  • File:
  • Implemented in: TreeStore
  • Included in:

adds the new item into a certain branch

Parameters

  • obj - the item object
    • object
  • index - the position of the new item in a branch (last item by default) (optional)
    • dimention
  • parent - the id of branch where the item needs being added (the top level by default) (optional)
    • string,dimention

Returns