From fe96ac1377f7730befcd417093de79eeb1b06c49 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 10 Feb 2021 14:24:28 +0300 Subject: [PATCH] Add scrollable row group --- src/components/datatable/DataTable.vue | 9 ++-- src/components/datatable/TableBody.vue | 36 +++++++++++++-- src/views/datatable/DataTableRowGroupDemo.vue | 2 +- src/views/datatable/DataTableScrollDemo.vue | 44 +++++++++++++++++++ 4 files changed, 83 insertions(+), 8 deletions(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index ba52df3c6..b80661ac1 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -25,7 +25,7 @@ @column-dragstart="onColumnHeaderDragStart($event)" @column-dragover="onColumnHeaderDragOver($event)" @column-dragleave="onColumnHeaderDragLeave($event)" @column-drop="onColumnHeaderDrop($event)" @column-resizestart="onColumnResizeStart($event)" @checkbox-change="toggleRowsWithCheckbox($event)" /> .p-datatable-wrapper { overflow-x: auto; diff --git a/src/components/datatable/TableBody.vue b/src/components/datatable/TableBody.vue index beb9aeaae..9798725c2 100755 --- a/src/components/datatable/TableBody.vue +++ b/src/components/datatable/TableBody.vue @@ -2,7 +2,7 @@