From 9c90dd91066200de4aa99ba84819784ad043fdd3 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 20 Feb 2023 11:51:27 +0000 Subject: [PATCH] Refactor #4078 --- components/lib/datatable/DataTableBase.js | 1 - components/lib/datatable/datatable.d.ts | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/components/lib/datatable/DataTableBase.js b/components/lib/datatable/DataTableBase.js index 832374d4ac..a6235f5d1f 100644 --- a/components/lib/datatable/DataTableBase.js +++ b/components/lib/datatable/DataTableBase.js @@ -106,7 +106,6 @@ export const DataTableBase = { rowHover: false, rows: null, rowsPerPageOptions: null, - scrollDirection: 'vertical', scrollHeight: null, scrollable: false, selectAll: false, diff --git a/components/lib/datatable/datatable.d.ts b/components/lib/datatable/datatable.d.ts index 130fcb66b8..be84c89955 100644 --- a/components/lib/datatable/datatable.d.ts +++ b/components/lib/datatable/datatable.d.ts @@ -940,6 +940,7 @@ export interface DataTableProps extends Omit /** * Defines the responsive mode, valid options are "stack" and "scroll". * @defaultValue scroll + * @deprecated since version 9.2.0 */ responsiveLayout?: 'scroll' | 'stack' | undefined; /** @@ -966,11 +967,6 @@ export interface DataTableProps extends Omit * Array of integer values to display inside rows per page dropdown. */ rowsPerPageOptions?: number[] | undefined; - /** - * Orientation of the scrolling, options are "vertical", "horizontal" and "both". - * @defaultValue vertical|horizontal - */ - scrollDirection?: 'vertical' | 'horizontal' | 'both' | undefined; /** * Height of the scroll viewport. */