From 413efbb2f4198c9d06dba3b2251393b967b8e657 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 19 Mar 2024 15:14:51 +0300 Subject: [PATCH] Fixed #5210 - DataTable: resizableColumns and paginator bug --- components/lib/datatable/DataTable.vue | 1 + components/lib/datatable/TableHeader.vue | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index 64e45b4c9..4deb806bb 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -87,6 +87,7 @@ :filtersStore="filters" :filterDisplay="filterDisplay" :filterInputProps="filterInputProps" + :first="d_first" @column-click="onColumnHeaderClick($event)" @column-mousedown="onColumnHeaderMouseDown($event)" @filter-change="onFilterChange" diff --git a/components/lib/datatable/TableHeader.vue b/components/lib/datatable/TableHeader.vue index ea40057e8..a21b14d5c 100755 --- a/components/lib/datatable/TableHeader.vue +++ b/components/lib/datatable/TableHeader.vue @@ -29,6 +29,7 @@ :filterDisplay="filterDisplay" :filtersStore="filtersStore" :filterInputProps="filterInputProps" + :first="first" @filter-change="$emit('filter-change', $event)" @filter-apply="$emit('filter-apply')" @operator-change="$emit('operator-change', $event)" @@ -223,6 +224,10 @@ export default { type: Boolean, default: false }, + first: { + type: Number, + default: 0 + }, filterInputProps: { type: null, default: null