From 525773773aded15c37738187ffe8fd97fa51cc99 Mon Sep 17 00:00:00 2001 From: Maciek Date: Mon, 25 Sep 2023 10:14:18 +0200 Subject: [PATCH] chore(trading): 4811 make market table columns resizable (#4856) --- apps/trading/client-pages/markets/market-list-table.tsx | 1 + libs/proposals/src/components/proposals-list/proposals-list.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/trading/client-pages/markets/market-list-table.tsx b/apps/trading/client-pages/markets/market-list-table.tsx index 8ead66f63..6f1217807 100644 --- a/apps/trading/client-pages/markets/market-list-table.tsx +++ b/apps/trading/client-pages/markets/market-list-table.tsx @@ -8,6 +8,7 @@ export const getRowId = ({ data }: { data: { id: string } }) => data.id; const defaultColDef = { sortable: true, filter: true, + resizable: true, filterParams: { buttons: ['reset'] }, }; diff --git a/libs/proposals/src/components/proposals-list/proposals-list.tsx b/libs/proposals/src/components/proposals-list/proposals-list.tsx index d4cd1a8c2..eac7bbbe9 100644 --- a/libs/proposals/src/components/proposals-list/proposals-list.tsx +++ b/libs/proposals/src/components/proposals-list/proposals-list.tsx @@ -19,6 +19,7 @@ export const getNewMarketProposals = (data: ProposalListFieldsFragment[]) => const defaultColDef = { sortable: true, filter: true, + resizable: true, filterParams: { buttons: ['reset'] }, };