[st] - feat: 미입력현황 조회

This commit is contained in:
2026-05-18 19:36:13 +09:00
parent ac75188980
commit 90834f3493
6 changed files with 398 additions and 33 deletions
@@ -117,6 +117,7 @@ const CompactDataGrid = ({
onItemAllChecked,
compactFullWidth = false,
compactGridHeightClass = "h-[55vh]",
headerHeight = 60,
}: DataGridProps) => {
const { columns, columnLayout } = columnInfo;
const gridRef = useRef<RealGridReact>(null);
@@ -188,7 +189,7 @@ const CompactDataGrid = ({
fitStyle: GridFitStyle.EVEN
});
gridView.header.height = 60;
gridView.header.height = headerHeight;
if (columns.some((c) => Boolean(resolveColumnTooltip(c)))) {
(gridView.header as { showTooltip?: boolean }).showTooltip = true;
}
@@ -449,7 +450,17 @@ const CompactDataGrid = ({
return () => {
if (getGridDataRef) getGridDataRef.current = null;
};
}, [columns, columnLayout, fixedColumns, rowData, showHeaderCheckbox, getGridDataRef, compactFullWidth, compactGridHeightClass]);
}, [
columns,
columnLayout,
fixedColumns,
rowData,
showHeaderCheckbox,
getGridDataRef,
compactFullWidth,
compactGridHeightClass,
headerHeight,
]);
// 행 클릭 이벤트
useEffect(() => {
+7 -3
View File
@@ -409,6 +409,8 @@ const DataGrid = ({
idFieldName = "id",
enableSort = false,
gridHeight = 55, // vh 단위
headerHeight = 60,
fitStyle = GridFitStyle.EVEN,
}: DataGridProps) => {
const { columns, columnLayout } = columnInfo;
const gridRef = useRef<RealGridReact>(null);
@@ -885,10 +887,9 @@ const DataGrid = ({
)
: () => false;
(gridView.displayOptions as DisplayOptions).fitStyle =
GridFitStyle.EVEN;
(gridView.displayOptions as DisplayOptions).fitStyle = fitStyle;
gridView.displayOptions.rowHeight = 30;
gridView.header.height = 60;
gridView.header.height = headerHeight;
if (columns.some((c) => Boolean(resolveColumnTooltip(c)))) {
(gridView.header as { showTooltip?: boolean }).showTooltip = true;
}
@@ -1213,6 +1214,9 @@ const DataGrid = ({
rowData,
showHeaderCheckbox,
getGridDataRef,
headerHeight,
fitStyle,
enableSort,
]);
// 행 클릭 이벤트 + 검증 오류 셀 클릭 시 showMessage (공식 문서 방식)