Represents an element that allows you to manipulate collections. Provides pagination, sorting and filtering. The collection can be processed both on the server and on the client.
Inside the element, the processed collection is accessed by the Parent
link.
Server-side processing requires special support at the data model level.
Inherits: UIElementBase
Content property: Children
Name | Type | Description |
---|---|---|
Children | UIElementCollection | Content property. A collection of children. |
ItemsSource | Array | Always binding - Bind. Data source for working with the collection. |
RunAt | RunMode |
Collection operation mode. Possible values:
|
Filter | FilterDescription | Defining filters. |
PageSize | Int32? | Page size. For work by the client only. |
Sort | SortDescription | Defining the sorting. For work by the client only. |
FilterDelegate | String | Delegate for filtering. For work by the client only. |
Base item properties |
A component has properties that child components can access. Such a call
is made through the Parent
prefix.
Name | Type | Description |
---|---|---|
ItemsSource | Array | Part of the collection being displayed. Contains the data of the selected page in a properly sorted form. |
Filter | Object | Collection filter. Object structure matches the FilterDescription filter definition. |
Pager | Object |
The source to bind to the Source property of the
Pager object.
|
Please note! The CollectionView
component interacts very closely with objects that
support working with collections (in particular, the DataGrid).
For example, clicking on a column heading automatically changes the sorting in the parent component. No
additional actions are required.
XAML: