Skip to main content

HTML in header cells

Import the html function first:

import { Grid, html } from "gridjs";

Then you can use that in columns or name field of columns:

Live Editor
Result
Loading...

You can also create a virtual DOM and attach it to header cells:

import { Grid, h } from "gridjs";
Live Editor
Result
Loading...