API REFERENCE

SyGridCellClickedEventDetail

Fields, allowed values, and APIs that use SyGridCellClickedEventDetail.

Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

typescript
export interface SyGridCellClickedEventDetail<TData = GridData> {
  row: TData;
  rowIndex: number;
  colIndex: number;
  field: GridFieldPath<TData>;
  button?: SyGridRowClickButton;
  modifiers?: SyGridRowClickModifiers;
  doubleClick?: boolean;
  dragged?: boolean;
}

Contracts containing this type