Posted 9 January 2020, 8:27 am EST
Hello. We need to change the FlexGrid theme at runtime. We are using React with Create React App, which uses css-in-js to pull the css files out of npm at build time. Ideally we could import both themes and then switch between them by setting something in FlexGrid.
import ‘@grapecity/wijmo.styles/themes/wijmo.theme.dark.css’;
import ‘@grapecity/wijmo.styles/wijmo.css’;
However, it appears that Wijmo themes are not name-spaced, right? So 2nd css file imported will always win and we have no way to change themes at runtime.
Do you have any other solutions for this?
Thanks!