Our blazing fast Grid component built with pure JavaScript


Post by agarcia »

Hi,
We are starting a new project, we want to add the grid to the storybook (using react, and vite).
I've followed the react integration docs for the grid, I'm able to see the grid, but it seems some styles are missing.
How should import the css? I've tried in the app.js, in the component, but so far the grid seems not to be complete in terms of styles. I send you an screenshot of the grid.

I'm using this line to import the css, (Tried in the app.js, and in the component with the same result):
import '@bryntum/grid/grid.classic-light.css';

Thanks in advance.

Attachments
bryntun-react-storybook.png
bryntun-react-storybook.png (39.95 KiB) Viewed 110 times

Post by alex.l »

Hi agarcia,

Did you import theme? Please check index.html in our examples

	<link
	  rel="stylesheet"
	  href="%PUBLIC_URL%/themes/grid.stockholm.css"
	  data-bryntum-theme
	/>

All the best,
Alex


Post Reply