fix(fe): enable column flex auto-expansion in KsDataGrid to fill 100% grid width

This commit is contained in:
2026-08-15 21:23:45 +09:00
parent 57a2f2adac
commit c1d818bce7
@@ -12,7 +12,8 @@ const columnDefs = computed<ColDef[]>(() => 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