LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


IntegralUI.TreeView Methods

A list of methods in IntegralUI TreeView directive.

Methods


  • addItem
  • Adds a new item
  • beginLoad
  • Enables change of the expand box image with an animated gif
  • clearItems
  • Removes all items
  • clearSelection
  • Removes the selection status for all items
  • closeEditor
  • Removes the editor from specified item and completes the editing process
  • collapse
  • Collapses the specified item
  • endLoad
  • Disables changes of the expand box image and returns its default appearance
  • ensureVisible
  • Ensures that the item is visible, expanding items and scrolling the current view as necessary
  • expand
  • Expands the specified item
  • exportToJSON
  • Exports the whole tree structure as tree or flat list in JSON format
  • filter
  • Filters the tree structure of the TreeView based on specified conditions
  • findItemById
  • Searches for an item using specified id
  • findItemByText
  • Searches for an item using specified text
  • focus
  • Sets the input focus to specified tree item
  • getCheckList
  • Retreives a list of currently checked items
  • getFlatList
  • Retrieves a flat list of all or currently visible items in the TreeView
  • getFullPath
  • Gets the path from the root item to the specified item
  • getItemAt
  • Returns an item over which mouse cursor is positioned
  • 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 scrollbar
  • insertItemAfter
  • Inserts a new item after specified item
  • insertItemAt
  • Inserts a new item at specified position
  • insertItemBefore
  • Inserts a new item before specified item
  • isScrollBarVisible
  • Checks whether the scrollbar is visible
  • loadData
  • Populates the TreeView content using local or remote data source
  • moveItem
  • Moves an item or set of items at specified position
  • openEditor
  • Displays an editor for specified item and starts the editing process
  • refresh
  • Applies the control styles and updates the appearance of the TreeView
  • removeItem
  • Removes the specified item
  • removeItemAt
  • Removes an item at specified position
  • resumeLayout
  • Resumes the TreeView layout and updates it, internally calls the updateLayout method
  • scrollTo
  • Scrolls the current view of the TreeView to show specified item at specified position
  • selectedItem
  • Gets or sets the currently selected item
  • selectedItems
  • Gets or sets the collection of selected tree items
  • setScrollPos
  • Sets the position of the TreeView scroll bar
  • sort
  • Reorders all items in tree structure either in ascending or descending order
  • suspendLayout
  • Suspends the TreeView layout from any updates
  • toggle
  • Toggles the specified item to either the expanded or collapsed state
  • updateCheckValues
  • Updates the values of checkboxes in TreeView when tri-state checkboxes are in use
  • updateLayout
  • Updates the TreeView layout
  • updateView
  • Updates only the current view of the TreeView