This example shows how to create an instance of AdapTable using ag-Grid. All the code used to build the demo is displayed under the Grid.
Everything is fully annotated below, but the main steps required to create an instance of AdapTable (using ag-Grid as the underlying grid) are:
- Create an ag-Grid GridOptions object with a column schema, row data and any properties set.
- Write any Predefined Config that you want
- Create an AdaptableOptions object that will take the GridOptions and Predefined Config.
- Instantiate AdapTable - passing in the AdaptableOptions object and retrieving an AdaptableApi object for run-time access to the tool.