LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


IntegralUIListView

Represents the ListView component for Angular 2. Displays a collection of items with content in custom layouts.

Properties


  • allowDrag
  • Gets or sets a value indicating whether items from ListView can be dragged
  • allowDrop
  • Gets or sets a value indicating whether the ListView can accept data during drag&drop
  • allowFilter
  • Gets or sets a value indicating whether filter is active
  • allowFocus
  • Gets or sets a value indicating whether keyboard focus is allowed
  • appRef
  • Holds a reference to application view
  • controlStyle
  • Specifies an object that contains all style settings for the ListView
  • data
  • Specifies an object that holds data related to the component
  • focusedItem
  • Gets or sets the item that has the input focus
  • items
  • Gets the collection of items that are assigned to the ListView
  • name
  • Uniquely identifies the component
  • scrollMode
  • Specifies whether the view is scrolled horizontally or vertically
  • selectedItem
  • an object that points to the currently selected item
  • selectionMode
  • Specifies the selection type: none, single or multiple
  • sorting
  • Gets or sets the sort order which items are sorted
  • state
  • Specifies the component state: disabled, hovered, etc.
  • virtualMode
  • Gets or sets a value indicating whether virtualization is active

Events


  • afterSelect
  • Occurs after item is selected
  • beforeSelect
  • Occurs before item is selected
  • change
  • Occurs when data is changed during filtering or sorting
  • clear
  • Occurs when all items are removed
  • dragDrop
  • Occurs when a drag-and-drop operation is completed
  • dragOver
  • Occurs when an object is dragged over the component's bounds
  • itemAdded
  • Occurs after item is added to the collection
  • itemAdding
  • Occurs before item is added to the collection
  • itemRemoved
  • Occurs after item is removed from the collection
  • itemRemoving
  • Occurs before item is removed from the collection
  • keyDown
  • Occurs when key is hold down while the item has focus
  • keyPress
  • Occurs when key is pressed while the item has focus
  • keyUp
  • Occurs when key is released while the item has focus
  • loadComplete
  • Occurs when data loading process is completed
  • scrollPosChanged
  • Occurs when position of scrollbar has changed
  • selectionChanged
  • Occurs whenever selection changes from one item to another
  • updateComplete
  • Occurs when updating of component layout is completed

Methods


  • addItem
  • Adds a new item
  • clearItems
  • Removes all items
  • clearSelection
  • Removes the selection status for all items
  • cloneItem
  • Creates a deep copy of specified item
  • filter
  • Filters the list based on specified parameters
  • findItemById
  • Searches for an item using specified id
  • findItemByText
  • Searches for an item using specified text
  • getList
  • Returns a list of all items
  • insertItemAfter
  • Inserts a new item after specified item
  • insertItemAt
  • Inserts a new item at specified position
  • insertItemBefore
  • Inserts a new item before specified item
  • moveFocusFromItem
  • Moves the input focus from specified item to another item depending on direction
  • refresh
  • Applies the control styles and updates the appearance of the ListView
  • removeItem
  • Removes the specified item
  • removeItemAt
  • Removes an item at specified position
  • resumeLayout
  • Resumes the component layout and updates it
  • scrollTo
  • Scrolls the list so that specified item is visible in current view
  • selectItems
  • Changes the status of provided items as selected
  • scrollPos
  • Gets or Sets the position of the scrollbar
  • sort
  • Reorders all items in tree structure either in ascending or descending order
  • suspendLayout
  • Suspends the component layout from any update operations
  • updateLayout
  • Updates the ListView layout