Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

ensureVisible(name, item)

Ensures a specified item is visible in current view of TreeView directive.


nameStringThe value of name attribute of the TreeView directive
itemObjectThe item to become visible in current view of TreeView

Return Value

This method does not return a value.


This method is part of IntegralUITreeViewService. If specified item is a child and placed deep within tree hierarchy, all parent items will become expanded. Additionally, the current view of TreeView will be scrolled to make sure item becomes visible.

Version Information

Supported in: v1.0.

See Also