# MasterDetailPluginOptions

Canonical page: https://www.adaptabletools.com/docs/reference/masterdetailpluginoptions

Plugin Options used when creating a Master / Detail grid - passed into the plugin as the only argument.

```ts title="TypeScript"
export interface MasterDetailPluginOptions 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [detailAdaptableOptions](https://www.adaptabletools.com/docs/reference/masterdetailpluginoptions.md#detailadaptableoptions) | [`AdaptableOptions`](https://www.adaptabletools.com/docs/reference/adaptableoptions.md) | `AdaptableOptions` used in Detail Grids; all share same behaviour &amp; State |
| [onDetailInit](https://www.adaptabletools.com/docs/reference/masterdetailpluginoptions.md#ondetailinit) | `(context: `[`DetailInitContext`](https://www.adaptabletools.com/docs/reference/detailinitcontext.md)`) => void` | Function called when a Detail Grid is initialised, receives context including Adaptable Api |

## Property Details

### detailAdaptableOptions

`AdaptableOptions` used in Detail Grids; all share same behaviour &amp; State

```ts title="TypeScript"
detailAdaptableOptions: AdaptableOptions;
```

###### Property Value

[`AdaptableOptions`](https://www.adaptabletools.com/docs/reference/adaptableoptions.md)

### onDetailInit

Function called when a Detail Grid is initialised, receives context including Adaptable Api

```ts title="TypeScript"
onDetailInit?: (context: DetailInitContext) => void;
```

###### Property Value

`(context: `[`DetailInitContext`](https://www.adaptabletools.com/docs/reference/detailinitcontext.md)`) => void`
