From c1d818bce77227c0bae203456391d55d792d9ab2 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 15 Aug 2026 21:23:45 +0900 Subject: [PATCH] fix(fe): enable column flex auto-expansion in KsDataGrid to fill 100% grid width --- frontend/src/shared/ui/components/KsDataGrid.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/shared/ui/components/KsDataGrid.vue b/frontend/src/shared/ui/components/KsDataGrid.vue index d3e983ce..babb6d58 100644 --- a/frontend/src/shared/ui/components/KsDataGrid.vue +++ b/frontend/src/shared/ui/components/KsDataGrid.vue @@ -12,7 +12,8 @@ const columnDefs = computed(() => props.columns.map(column => ({ field: column.field, headerName: column.header, width: column.width, - minWidth: column.minWidth ?? 120, + minWidth: column.minWidth ?? 100, + flex: column.width ? undefined : 1, sortable: column.sortable ?? true, filter: column.filterable ?? true, valueFormatter: column.formatter ? params => column.formatter?.(params.value, params.data) ?? '' : undefined