fix(fe): KsDataGrid - add missing redrawRows method
deploy / deploy (push) Failing after 47s
deploy / notify (push) Successful in 1s

Problem: DataGridShell expects gridRef to have redrawRows() method
but KsDataGrid.vue only exposed focusRow and gridApi

Fixed:
1. Added redrawRows() function that calls gridApi.redrawRows()
2. Updated defineExpose to include redrawRows
3. Removed unused CellEditingStoppedEvent import

Result: CommonCodeManagementPage.redrawRows() calls now work

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-08-16 20:48:53 +09:00
parent 844f1eae4a
commit d7551dd2a4
@@ -181,8 +181,11 @@ function focusRow(rowIndex: number, colKey?: string): void {
setTimeout(attempt, 150)
}
function redrawRows(): void {
gridApi.value?.redrawRows()
}
import type { NavigateToNextCellParams, CellPosition, CellEditingStoppedEvent } from 'ag-grid-community'
import type { NavigateToNextCellParams, CellPosition } from 'ag-grid-community'
@@ -231,7 +234,7 @@ function navigateToNextCell(params: NavigateToNextCellParams): CellPosition | nu
return suggestedNextCell
}
defineExpose({ focusRow, gridApi })
defineExpose({ focusRow, redrawRows, gridApi })
</script>
<template>