From 769f3db21c8d8dc0ebe019bf1ffe74d7e657ec27 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 17 Jan 2026 21:45:10 +0200 Subject: [PATCH] feat(sql_console): make columns resizable --- apps/client/src/widgets/type_widgets/SqlConsole.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/SqlConsole.tsx b/apps/client/src/widgets/type_widgets/SqlConsole.tsx index c66473fb5..5042b0968 100644 --- a/apps/client/src/widgets/type_widgets/SqlConsole.tsx +++ b/apps/client/src/widgets/type_widgets/SqlConsole.tsx @@ -2,6 +2,7 @@ import "./SqlConsole.css"; import { SqlExecuteResults } from "@triliumnext/commons"; import { useState } from "preact/hooks"; +import { ResizeColumnsModule } from "tabulator-tables"; import { t } from "../../services/i18n"; import Tabulator from "../collections/table/tabulator"; @@ -60,13 +61,15 @@ function SqlResultTable({ rows }: { rows: object[] }) { return ( ({ title: key, field: key, + width: 250, minWidth: 100, - maxWidth: 400, - widthGrow: 1 + widthGrow: 1, + resizable: true })) ]} data={rows}