Grid.js uses Preact to render the elements and that means that you can take advantage of Preact's Virtual DOM and render complex cells. In this example, we want to render React components in the table cells.
First of all, make sure you have the React wrapper library,
Then, import the
_ function from
And use it in your table header or body cells. Here is the finalized example: