Path: blob/main/doc/how_to/custom_components/esm/dataframe.md
3294 views
Rendering DataFrames using ESM components
In this guide we will show you how to implement ESM components with a DataFrame parameter.
Creating a JSComponent
In this example we will show you how to create a custom DataFrame Pane. The example will be based on the GridJS table.
The main challenge of creating this component is understanding the structure of data.value and how it can be converted to a format (config) that gridjs.Grid accepts.
To help you understand what the data.value and config values looks like, I've logged them to the browser console using console.log.

Creating a ReactComponent
Now let's see how to implement the same thing using the GridJS React integration.