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 is required for AdapTable initial use
- Create an Adaptable Options object that has a number of properties including the GridOptions and Predefined Config objects provided in previous steps
- Instantiate AdapTable - passing in the AdaptableOptions object and retrieving an AdaptableApi object for run-time access to the tool