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}