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,