Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

IntegralUI.TreeView Methods

A list of methods in IntegralUI TreeView widget.


  • addItem
  • Adds a new item
  • clearItems
  • Removes all items
  • collapse
  • Collapses the specified item
  • ensureVisible
  • Ensures that the item is visible, expanding items and scrolling the current view as necessary
  • expand
  • Expands the specified item
  • findItemById
  • Searches for an item using specified id
  • findItemByText
  • Searches for an item using specified text
  • getCurrentList
  • Returns a list of all visible items
  • getFullPath
  • Gets the path from the root item to the specified item
  • getItemAt
  • Retrieves the item that is at the specified location
  • getItemElement
  • Returns the element related with specified item
  • getItemLevel
  • Gets the level of the item in tree view structure
  • getItemParent
  • Gets the parent item of the specified item
  • getList
  • Returns a list of all items
  • getScrollPos
  • Retrieves the current position of the scrolltree
  • insertItemAfter
  • Inserts a new item after specified item
  • insertItemAt
  • Inserts a new item at specified position
  • insertItemBefore
  • Inserts a new item before specified item
  • isItemExpanded
  • Checks whether the item is in expanded state
  • isItemVisible
  • Checks whether the item's element is present in the DOM
  • isScrollBarVisible
  • Checks whether the scrolltree is visible
  • loadData
  • Populates the widget content using array of item objects
  • removeItem
  • Removes the specified item
  • removeItemAt
  • Removes an item at specified position
  • refresh
  • Overridden. Updates layout logic of the widget
  • resumeLayout
  • Inherited. Resumes the layout logic and updates the widget
  • setScrollPos
  • Sets the position of the widget scroll tree
  • suspendLayout
  • Inherited. Temporarily suspends the update of the widget layout
  • toggle
  • Toggles the specified item to either the expanded or collapsed state
  • updateLayout
  • Updates the layout of specified item or of the whole widget