Collections

Includes controls to display and manage collections.

GridView

GridView displays rows with selection, sorting and filtering features.

Original control

Grid view

Properties:

Property Description
Name Name
Options Options for display
Edit form The form shows after the gridEdit or gridCreate call event
Edit form show type Handles the way the edit form is displayed
Columns A set of columns
Row key Id field
Pagination type Type of pagination
Page size Count of rows in one request
Default sort Default sorting
Row height Height of a row
Min height Min height of the GridView
Auto Height Auto resize height of GridView when the window size changes

Events:

Event Description
onRowClick Row click handler
onRowDblClick Row double click handler
onSelectionChanged Rows selection changed handler

CollectionEditor

The CollectionEditor displays a table-based control for displaying and editing a collection.

Collection editor

Properties:

Property Description
Name Name
Options Options for display
Id field Id field, required for Hierarchical mode
ParentId field ParentId field, required for Hierarchical mode
Columns A set of columns

Events:

Event Description
onChange Change data handler
onAdd Add new row handler
onDelete Delete a row handler