API REFERENCE

DetailGridOptions

Fields, allowed values, and APIs that use DetailGridOptions.

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 DetailGridOptions {
  columnDefs: Array<ColumnDef | GridColumnGroupDef>;
  masterDetail?: boolean;
  getDetailRowData?: (params: DetailRowDataParams) => unknown[] | Promise<unknown[]>;
  detailGridOptions?: DetailGridOptions;
  height?: string;
  detailRowHeight?: number;
  pagination?: boolean;
  pageSize?: number;
  formulas?: boolean;
  showFormulas?: boolean;
}

APIs using this type