Update DataTable.d.ts

pull/1846/head
mertsincan 2021-12-05 20:18:44 +03:00
parent fa578b9673
commit aeef9595c2
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
import Column from '../column'; import Column from '../column';
import { VirtualScrollerProps } from '../virtualscroller';
type DataTablePaginatorPositionType = 'top' | 'bottom' | 'both' | undefined; type DataTablePaginatorPositionType = 'top' | 'bottom' | 'both' | undefined;
@ -720,6 +721,12 @@ export interface DataTableProps {
* Default value is 'vertical'. * Default value is 'vertical'.
*/ */
scrollDirection?: DataTableScrollDirectionType; 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. * Items of the frozen part in scrollable DataTable.
*/ */