# DetailGridOptions

Fields, allowed values, and APIs that use DetailGridOptions.

Canonical: https://grid.syidax.com/docs/types/DetailGridOptions/

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

## 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;
}
```

<a id="used-by"></a>

## APIs using this type

- [detailGridOptions](https://grid.syidax.com/docs/options/detailGridOptions.md) — Columns and options for an automatically generated nested Grid in the detail panel. Use with getDetailRowData.

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

## Related types

- [ColumnDef](https://grid.syidax.com/docs/types/ColumnDef.md)
- [GridColumnGroupDef](https://grid.syidax.com/docs/types/GridColumnGroupDef.md)
- [DetailRowDataParams](https://grid.syidax.com/docs/types/DetailRowDataParams.md)
