JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid How to change the Grid component's required smart.default.css to non-global Reply To: How to change the Grid component's required smart.default.css to non-global

#101166
LC
Member

Hi Peter,
I will explain in detail what I have encountered so far:
I currently have a set of Angular projects that I have developed that already contain components such as Button. Sorry for that Smart components are not used in these original components for the time being.
I’m currently trying to integrate smart-Grid components into it to see how it works.
First of all, I added
“@import../ node_modules/smart-webcomponents – presents/source/styles/smart.default.css;”
into the styles.css file and wrote some data according the official website instance.
But at this point the Grid does not display correctly.
I wonder if smart.default.css conflicts with my original .css file?
Then I tried adding smart.default.css to the .css file which only belongs to the smart-Grid component, but it still didn’t work.
Is there any good solution to this problem?
Thank you.
BR,
LC