debug: 숫자 컬럼 포맷팅 디버그 로그 추가

- 어떤 컬럼이 숫자 포맷팅을 시도하는지 확인
- widgetType과 실제 값의 타입을 콘솔에 출력
- 콤마가 안 찍히는 컬럼 원인 파악용
This commit is contained in:
kjs 2025-11-03 10:07:32 +09:00
parent c9eacb8f4a
commit c9905a6dea
1 changed files with 6 additions and 0 deletions

View File

@ -1775,6 +1775,12 @@ export const InteractiveDataTable: React.FC<InteractiveDataTableProps> = ({
case "number":
case "decimal":
console.log(`🔢 숫자 컬럼 포맷팅:`, {
columnName: column.columnName,
widgetType: column.widgetType,
value,
valueType: typeof value,
});
if (value !== null && value !== undefined && value !== "") {
const numValue = typeof value === "string" ? parseFloat(value) : value;
if (!isNaN(numValue)) {