From aeef9595c2d445be7aeb1b336ca1dcbd3b437228 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Sun, 5 Dec 2021 20:18:44 +0300 Subject: [PATCH] Update DataTable.d.ts --- src/components/datatable/DataTable.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index e190c3ae9..93d48e2f7 100755 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -1,6 +1,7 @@ import { VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import Column from '../column'; +import { VirtualScrollerProps } from '../virtualscroller'; type DataTablePaginatorPositionType = 'top' | 'bottom' | 'both' | undefined; @@ -720,6 +721,12 @@ export interface DataTableProps { * Default value is 'vertical'. */ scrollDirection?: DataTableScrollDirectionType; + /** + * Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it. + * Note: Currently only vertical orientation mode is supported. + * @see VirtualScroller.VirtualScrollerProps + */ + virtualScrollerOptions?: VirtualScrollerProps; /** * Items of the frozen part in scrollable DataTable. */