From ec5e14de61fe9e3b8e48bff740bf1dedc0930de6 Mon Sep 17 00:00:00 2001 From: Saqib Ansari Date: Wed, 11 Dec 2024 11:57:16 +0530 Subject: [PATCH] feat: datatable pagination --- .../charts/components/ChartBuilderTable.vue | 1 + frontend/src2/charts/components/DrillDown.vue | 1 + .../src2/charts/components/TableChart.vue | 1 + frontend/src2/components/DataTable.vue | 73 +++++++++++++++++-- 4 files changed, 70 insertions(+), 6 deletions(-) diff --git a/frontend/src2/charts/components/ChartBuilderTable.vue b/frontend/src2/charts/components/ChartBuilderTable.vue index d061b543..31e4eb66 100644 --- a/frontend/src2/charts/components/ChartBuilderTable.vue +++ b/frontend/src2/charts/components/ChartBuilderTable.vue @@ -20,6 +20,7 @@ const drillOn = ref<{ row: QueryResultRow; column: QueryResultColumn } | null>(n :columns="chart.dataQuery.result.columns" :rows="chart.dataQuery.result.formattedRows" :on-export="chart.dataQuery.downloadResults" + :enable-pagination="true" @cell-dbl-click="(row, column) => (drillOn = { row, column })" >