GridHandle
Represent the ref of the Grid component.
Definition
Package:@progress/kendo-vue-grid
Properties
A getter of the current columns. Gets the current column width or current columns, or any other GridColumnProps for each defined column. Can be used on each Grid instance. To obtain the instance of the rendered Grid, use the ref callback. The following example demonstrates how to reorder the columns by dragging their handlers and check the properties afterwards. You can check the result in the browser console.
element
HTMLDivElement
Returns the HTML element of the Grid component.
exportAsPdf
() => void
Method to trigger a PDF export of the Grid. The 'pdf' prop of the Grid should be set to true or object of setting that will be applied the exported Grid.
fitColumns
(columnIds: string[]) => void
Method to fit columns according to their content.
Array of column ids to be fitted.
scrollIntoView
(options: { rowIndex: number }) => void
Method to allow the scroll to be set to a specific row index when the Grid is scrollable. It is zero based.
Object, containing the rowIndex to which is going to be scrolled.