diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vue index fefa92f12d..0ca8289f8c 100644 --- a/apps/desktop/src/components/grid/DataGrid.vue +++ b/apps/desktop/src/components/grid/DataGrid.vue @@ -381,6 +381,11 @@ function shortTypeName(t: string): string { return t; } +function headerColumnSortable(actualColIdx: number): boolean { + const resolved = props.result.column_sortables?.[actualColIdx]; + return resolved !== undefined ? resolved : true; +} + function typeColorClass(t: string): string { // Strip precision/scale suffix like (20,6) const base = t.replace(/\(.*\)$/, "").toLowerCase(); @@ -6757,6 +6762,7 @@ const gridContextMenuItems = computed(() => {