New to Kendo UI for Vue? Start a free 30-day trial

GridHandle

Interface

Represents the ref of the Grid component.

Definition

Package:@progress/kendo-vue-grid

Properties

Gets the current columns of the Grid. Use it to read the current column width, the current columns, or any other GridColumnProps of each defined column. You can use it on each Grid instance. To get the instance of the rendered Grid, use the ref callback. For example, reorder the columns by dragging their headers, and then check the column properties in the browser console.

element

HTMLDivElement

Returns the HTML element of the Grid component.

fitColumns

(columnIds: string[]) => void

Fits the columns to their content.

Parameters:columnIdsstring[]

The IDs of the columns to fit.

The values of the Grid props.

scrollIntoView

(options: { rowIndex: number }) => void

Scrolls the Grid to a specific row index when the Grid is scrollable. The index is zero-based.

Parameters:options{ rowIndex: number }

An object that contains the rowIndex to scroll to.