TreeStore

  • Type: Interface
  • File:
  • Based on: has not base object
  • Included in:

Methods

  • add - adds the new item into a certain branch
  • branchIndex - gets position of the item in the parent branch
  • clearAll - removes all data
  • eachChild - calls the defined functor for each child node of a certain branch
  • extraParser - some unknown method
  • firstChild - gets the id of the first child in a certain branch
  • getTopRange - gets all ids of all child nodes in the top level
  • hasChild - checks whether an item exists in a certain branch (at any level)
  • nextSibling - gets the id of the next item
  • parent - gets the id of the parent branch
  • prevSibling - gets the id of the previous item
  • provideApi - assigns methods (and events) of DataStore to an object
  • remove - removes an item
  • serialize - serializes branch or the whole dataset to a json object

Events

Doesn't have any

Properties

Doesn't have any