From 4ff9b8e793011eeefaedd03fd56069d8b24d662f Mon Sep 17 00:00:00 2001 From: rsone001 Date: Thu, 19 Feb 2026 11:51:15 +0900 Subject: [PATCH] =?UTF-8?q?st:=20refactor:=20editable:=20false=20=ED=95=AD?= =?UTF-8?q?=EB=AA=A9=20cell=20=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9=20=EB=B0=A9=EC=8B=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/st/src/components/module/DataGrid.tsx | 9 ++------ .../input/SeweragePenetrationRateInpColumn.ts | 22 +++++++++---------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/apps/st/src/components/module/DataGrid.tsx b/apps/st/src/components/module/DataGrid.tsx index 8df22b216..7d7f925ee 100644 --- a/apps/st/src/components/module/DataGrid.tsx +++ b/apps/st/src/components/module/DataGrid.tsx @@ -1171,7 +1171,7 @@ const DataGrid = ({ const gv = gridRef.current?.gridView; if (!gv?.columnByName) return; columns.forEach((column) => { - const baseStyleName = column.styleName ?? (column.editable === false ? 'rg-cell-readonly' : undefined); + const baseStyleName = column.styleName; const gridCol = gv.columnByName(column.name) as { styleCallback?: (g: unknown, dataCell: { itemIndex?: number; index?: { itemIndex?: number }; dataField?: string; fieldName?: string }) => string } | null; if (gridCol) { gridCol.styleCallback = (_g, dataCell) => { @@ -1191,12 +1191,7 @@ const DataGrid = ({ }} > {columns.map((column) => { - const baseStyleName = - column.styleName != null - ? column.styleName - : column.editable === false - ? ('rg-cell-readonly' as const) - : undefined; + const baseStyleName = column.styleName; return (