From 269773400e2113907d8a7201022a4bac7162aee3 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 15 Aug 2026 21:52:07 +0900 Subject: [PATCH] fix(fe): ensure No. column always renders dynamic viewport row index 1, 2, 3 during sorting --- frontend/src/shared/ui/components/KsDataGrid.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/shared/ui/components/KsDataGrid.vue b/frontend/src/shared/ui/components/KsDataGrid.vue index 161b7308..7e1e2d2c 100644 --- a/frontend/src/shared/ui/components/KsDataGrid.vue +++ b/frontend/src/shared/ui/components/KsDataGrid.vue @@ -23,7 +23,7 @@ const columnDefs = computed(() => { if (props.showRowNumber) { const rowNumCol: ColDef = { headerName: 'No.', - valueGetter: 'node.rowIndex + 1', + valueGetter: params => (params.node?.rowIndex !== null && params.node?.rowIndex !== undefined) ? params.node.rowIndex + 1 : '', width: 54, minWidth: 50, maxWidth: 65,