GridProps
Represents the props of the native Vue Grid component by Kendo UI.
Name | Type | Default | Description |
---|---|---|---|
allGroupedItems? |
|
Passes the collection of all grouped items that is needed for the virtualization scenario. | |
alternatePerGroup? |
|
When set to | |
cellRender? |
|
Defines the custom rendering of the cell. Accepts a Vue component, a | |
collapsedGroups? |
|
Passes the collection of all collapsed groups for every grouped level. | |
columnMenu? |
|
Defines if the column menu will be shown for the column.
Accepts Boolean, a Vue component, a | |
columnMenuAnimate? |
|
Controls the ColumnMenu animation. By default, the opening and closing animations are enabled. | |
columnMenuIcon? |
|
Globally overrides the default(three vertical dots) column menu icon for the whole Grid. If set, the prop can be overridden on column level using the (menuIcon) property. | |
columns? |
|
Sets the properties of the columns that are used by the Grid. | |
columnVirtualization? |
|
Enables virtualization of the columns. If virtualization is enabled, the columns outside the view are not rendered. | |
dataItemKey? |
|
Sets the Grid row key prop to the value of this field in the dataItem. If not set, the dataItem index will be used for the row key, which might lead to row not updated during paging or scrolling. | |
dataItems? |
|
Sets the data of the Grid (see example). If you use paging,
the | |
detail? |
|
Specifies a custom rendering that will be cloned and rendered inside the detail rows
of the currently expanded items (see example.
Accepts a Vue component, a | |
editField? |
|
Specifies the name of the field which will provide a Boolean representation of the edit state of the current item (more information and examples). | |
expandColumn? |
|
Defines the GridColumnProps of the expand column. | |
expandField? |
|
Specifies the name of the field which will provide a Boolean representation of the expanded state of the item (see example. | |
filter? |
|
The descriptor by which the data is filtered
(more information and examples).
Affects the values and buttons in the | |
filterable? |
|
Enables the filtering of the columns with their | |
filterCellRender? |
|
Defines the custom rendering of the filter cell. Accepts a Vue component, a | |
filterOperators? |
|
The filter operators for the Grid filters. | |
group? |
|
The descriptors by which the data will be grouped (more information and examples). | |
groupable? |
|
Determines if grouping by dragging and dropping the column headers is allowed (more information and examples). | |
headerCellRender? |
|
Defines the custom rendering of the header cell. Accepts a Vue component, a | |
loader? |
|
Defines if the loader will be shown. Defaults to | |
navigatable? |
|
If set to | |
onCancel? |
|
Fires when the user triggers a canceling operation from a cell. | |
onCellclick? |
|
Fires when the user clicks a cell. | |
onColumnreorder? |
|
Fires when columns are reordered. | |
onColumnresize? |
|
Fires when a column is resized | |
onDatastatechange? |
|
Fires when the data state of the Grid is changed. | |
onEdit? |
|
Fires when the user triggers an edit operation from a cell. | |
onExpandchange? |
|
Fires when the user tries to expand or collapse a row. | |
onFilterchange? |
|
Fires when the Grid filter is modified through the UI (more information and examples). You have to handle the event yourself and filter the data. | |
onGroupchange? |
|
Fires when the grouping of the Grid is changed. You have to handle the event yourself and group the data (more information and examples). | |
onHeaderselectionchange? |
|
Fires when the user clicks the checkbox of a column header whose | |
onItemchange? |
|
Fires when the user changes the values of the item.
The event is not debounced and fires on every | |
onKeydown? |
|
Fires when the user press keyboard key. | |
onNavigationaction? |
|
Fires when Grid keyboard navigation position is changed. | |
onPagechange? |
|
Fires when the page of the Grid is changed (see example). You have to handle the event yourself and page the data. | |
onRemove? |
|
Fires when the user triggers a removal operation from a cell. | |
onRowclick? |
|
Fires when the user clicks a row. | |
onRowdblclick? |
|
Fires when the user double clicks a row. | |
onSave? |
|
Fires when the user triggers a saving operation from a cell. | |
onScroll? |
|
Fires when Grid is scrolled. | |
onSelectionchange? |
|
Fires when the user tries to select or deselect a row (see example). | |
onSortchange? |
|
Fires when the sorting of the Grid is changed (see example). You have to handle the event yourself and sort the data. | |
pageable? |
|
Configures the pager of the Grid (see example). The available options are:
and
| |
pager? |
|
Defines the custom rendering of the pager. Accepts a slot name, a | |
pageSize? |
|
Defines the page size that is used by the Grid pager (see example). Required by the paging functionality. | |
reorderable? |
|
If set to | |
resizable? |
|
If set to | |
rowClass? |
|
A function that returns a custom class applied to the row. | |
rowHeight? |
|
Defines the row height and forces an equal height to all rows (see example). | |
rowRender? |
|
Defines the custom rendering of the row. Accepts a Vue component, a | |
scrollable? |
|
Defines the scroll mode that is used by the Grid (see example. The available options are:
while the user is scrolling the content. | |
selectedField? |
|
Specifies the name of the field which will provide a Boolean representation of the selected state of the item (see example). | |
size? |
|
|
Configures the The available options are:
|
skip? |
|
Defines the number of records that will be skipped by the pager (see example). Required by the paging functionality. | |
sort? |
|
The descriptors by which the data is sorted. Applies the sorting styles and buttons to the affected columns. | |
sortable? |
|
Enables the sorting for the columns with their | |
style? |
|
Represents the | |
take? |
|
Alias of the | |
topCacheCount? |
|
Passes the number of cached top items needed for the grouping virtualization scenario. Defaults to 4. | |
total? |
|
Defines the total number of data items in all pages (see example). Required by the paging functionality. | |
totalGroupedHeight? |
|
Passes the calculated height of all the items in the Grid grouped hierarchy. | |
uniqueField? |
|
Specifies the name of the field which will provide a unique for every item identifier. |