ListView
Wisej.Web.ListView
Last updated
Was this helpful?
Wisej.Web.ListView
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a list view control, which displays a collection of items that can be displayed using one of four different views.
Initializes a new instance of the class.
: Returns or sets whether the user can drag column headers to reorder columns in the control.
Throws:
Throws:
data
dataMember
Resizes the width of the given column as indicated by the resize style.
columnIndex
The zero-based index of the column to resize.
headerAutoResize
Throws:
Resizes the width of the columns as indicated by the resize style.
headerAutoResize
Throws:
Removes all items and columns from the control.
Clears the current selection.
Ensures that the specified item is visible within the control, scrolling the contents of the control if necessary.
index
The zero-based index of the item to scroll into view.
data
dataMember
text
The text to search for.
text
The text to search for.
includeSubItemsInSearch
true to include sub-items in the search; otherwise, false.
startIndex
The index of the item at which to start the search.
Throws:
text
The text to search for.
includeSubItemsInSearch
true to include sub-items in the search; otherwise, false.
startIndex
The index of the item at which to start the search.
isPrefixSearch
true to allow partial matches; otherwise, false.
Throws:
refreshChildren
True to also refresh all the children of this control.
Scrolls the specified column into view.
column
Sorts the items of the list view.
comparison
Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Throws:
Bindable components implement this interface.
All wisej components implement this interface.
All wisej data stores implement this interface.
Allows an object to serialize itself.
: Returns or sets whether the user can sort columns by clicking on the header.
: Returns or sets the border style of the control.
: Returns or sets whether a check box appears next to each item.
: Returns the indexes of the currently checked items in the control.
: Returns the currently checked items in the control.
: Returns the number of columns without creating the columns collection.
: Returns the collection of all column headers that appear in the control.
: Returns or sets the name of the list or table in the data source for which the is displaying data.
: Returns or sets the data source for this .
The assigned value does not implement the or interfaces.
: Returns or sets the property to display in the .
: Returns or sets the item that currently has the focus.
: Returns or sets whether grid lines appear between the rows and columns containing the items and subitems in the control.
: Returns or sets the cell border style for the control when its property is set to Details and the property is set to true.
: Returns or sets the column header style.
: Returns or sets the property to use as the icon for the .
: Returns or sets the padding inside objects in any mode.
: Returns a collection containing all items in the control.
: Returns or sets the size of the items in the list view. If left empty (0, 0), the control uses the item size set in the current theme.
: Returns or sets the sorting comparer for the control.
: Returns or sets whether the user can edit the labels of items in the control.
: Returns or sets whether the text in the item can wrap.
: Returns or sets the to use to display the icon in the elements when the is set to or .
If is not set, Wisej will use and scale the icons.
: Returns or sets whether the column and row resizing should be updated as the user resizes the row or the column.
: Returns or sets whether multiple items can be selected.
: Returns or sets the number of items to prefetch outside of the visible area. The default is 0 (disabled).
Setting the property to a value greater than 0 allows the virtual view to prefetch the specified number of items outside of the visible area to enable smoother scrolling.
: Returns or sets whether a scroll bar is added to the control when there is not enough room to display all items.
: Returns or sets the index of the focused .
: Returns the indexes of the selected items in the control.
: Returns the items that are selected in the control.
: Returns or sets the current selection mode determining how items are selected in the .
: Returns or sets whether ToolTips are shown for the objects contained in the .
: Returns or sets the to use to display the icon in the elements when the is set to or .
If is not set, Wisej will use and scale the icons.
: Returns the column by which the contents are currently sorted.
: Returns or sets the sort order for items in the control.
: Returns a value indicating whether the items in the control are sorted in ascending or descending order, or are not sorted.
: Returns or sets the associated with states set for each .
: Returns the collection of the T:Wisej.Web.ComponentTool items associated with this control.
: Returns or sets the position of the T:Wisej.Web.ComponentTool items associated with this control.
: Returns or sets how items are displayed in the control.
: Returns or sets the number of objects contained in the list when in virtual mode.
is set to a value less than 0.
: Returns or sets whether you have provided your own data-management operations for the control.
Populates the from the data appending the rows to the existing rows.
The object that contains data for the to display.
The name of the table or list in the data object for which the should load the items.
Returns: . Numbers of items appended.
Use this method to fill a without binding it to the data source.
One of the values.
columnIndex is greater than 0 when is null-or- columnIndex is less than 0 or greater than the number of columns set.
One of the values.
is called with a value other than when is not set to .
Prevents the control from updating until the method is called.
Resumes updating of the list view control after suspending it by the method.
Populates the from the data .
The object that contains data for the to display.
The name of the table or list in the data object for which the should load the items.
Returns: . Numbers of items added.
Use this method to fill a without binding it to the data source.
Finds the first that begins with the specified text value.
Returns: . The first that begins with the specified text value.
Finds the first or , if indicated, that begins with the specified text value. The search starts at the specified index.
Returns: . The first that begins with the specified text value.
startIndex is less 0 or more than the number items in the .
Finds the first or , if indicated, that begins with the specified text value. The search starts at the specified index.
Returns: . The first that begins with the specified text value.
startIndex is less than 0 or more than the number of items in the .
Forces a full reload of the data displayed by this .
Forces a full reload of the data displayed by this .
The to scroll into view.
The comparison expression to use when sorting the items. It's optional - if not specified or null, the instance is used to compare the items and sort the list.
Fired when the label for an item is edited by the user.
Fired when the user starts editing the label of an item.
Fired when the contents of the display area for a in virtual mode has changed, and the determines that a new range of items is needed.
Fired when the user clicks a column header within the list view control.
Fired when the user double clicks a column header within the list view control.
Fired when the column header order is changed.
Fired after the width of a column is successfully changed .
Occurs after a data-binding operation has finished.
Fired when value of the property changes.
Fired when the property changes.
Fired when the client has updated one or more items in the view.
This event is fired only if the application has attached at least one handler to the event. Otherwise, simply overriding won't work.
Fired when the check state of an item changes.
Fired when the checked state of an item changes.
Fired when the item is clicked or tapped.
Fired when the item is double clicked or tapped.
Fired when the user begins dragging a .
Fired when the pointer hovers over an item.
Fired when the pointer leaves an item.
Fired when the selection state of an item changes.
Fired when the is in virtual mode and requires a .
The property is not set to an item when the event is handled.
Fired when the is in virtual mode and a search is requested.
Fired when the collection changes.
Fired when a is clicked.
Fired when a is in virtual mode and the selection state of a range of items has changed.
All wisej controls derived from the class must implement this interface.