# SyGridCellValueChangedEventDetail

SyGridCellValueChangedEventDetail의 필드와 허용 값, 이 타입을 사용하는 API입니다.

Canonical: https://grid.syidax.com/ko/docs/types/SyGridCellValueChangedEventDetail/

<a id="definition"></a>

## 타입 정의

물음표(?)는 선택 항목이고 readonly는 직접 변경하지 않는 값입니다. 유니온(|)은 허용된 형태 중 하나를 뜻합니다. 함수는 해당 시점에 Grid가 호출할 콜백입니다.

```typescript
export interface SyGridCellValueChangedEventDetail<
  TData = GridData,
  TValue = unknown,
  TContext = unknown,
> {
  rowIndex: number;
  colIndex: number;
  field: GridFieldPath<TData>;
  rowId: GridRowId;
  oldValue: TValue;
  newValue: TValue;
  data: Readonly<TData>;
  context: TContext | undefined;
  source: SyGridEditSource;
  origin?: unknown;
}
```

<a id="parents"></a>

## 이 타입을 포함하는 계약

- [SyGridClipboardPastedEventDetail](https://grid.syidax.com/ko/docs/types/SyGridClipboardPastedEventDetail.md)
- [SyGridEventMap](https://grid.syidax.com/ko/docs/types/SyGridEventMap.md)
- [SyGridRemoteEditAppliedEventDetail](https://grid.syidax.com/ko/docs/types/SyGridRemoteEditAppliedEventDetail.md)

<a id="related"></a>

## 연결된 타입

- [GridData](https://grid.syidax.com/ko/docs/types/GridData.md)
- [GridFieldPath](https://grid.syidax.com/ko/docs/types/GridFieldPath.md)
- [GridRowId](https://grid.syidax.com/ko/docs/types/GridRowId.md)
- [SyGridEditSource](https://grid.syidax.com/ko/docs/types/SyGridEditSource.md)
