# AdapTable Master Detail AgGrid Plugin Read Me

Version 7 of AdapTable introduced support for using Master-Detail grids in AG Grid.

It allows you to create a definition for the Detail grid which will apply for all detail grids.  

This means that if you create a Format Column in Initial Adaptable State it will apply in each detail grid.

## How It Works

The `masterDetailAgGridPlugin` has 2 properties:

- *detailAdaptableOptions* - an `AdaptableOptions` object to be used for **every** Detail grid

- *onDetailInit: (api: AdaptableApi) => void* - an optional function which will be called whenever a Detail grid is opened (essentially initialised), providing you with the AdaptableApi instance for full programmatic access to all Adaptable features.

## Requirements

This plugin depends on the AG Grid `@ag-grid-enterprise/master-detail` Module being present.

## Documentation & Demos

Full details of how to install and use the Master Detail plugin, together with many demos, can be found at [AdapTable Master / Detail Documentation](https://www.adaptabletools.com/docs/handbook-master-detail)


## Help

Developers can learn how to access AdapTable programmatically at [AdapTable Documentation](https://www.adaptabletools.com/docs).

## More Information

General information about Adaptable Tools is available at our [Website](http://www.adaptabletools.com) 

## Support

For all support enquiries please email [`support@adaptabletools.com`](mailto:support@adaptabletools.com) or [raise a Support Ticket](https://adaptabletools.zendesk.com/hc/en-us/requests/new).

## Licences

Information on AdapTable Licences can be found at [Licensing AdapTable for AG Grid](https://www.adaptabletools.com/buy/buying-adaptable-licensing).
