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.
h from the
Then, create a custom Preact component:
Finally, connect the component to Grid.js:
Explore Preact's documentation for more details.