JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › There are some issues with using Grid in Angular following the official guide › Reply To: There are some issues with using Grid in Angular following the official guide
Hello LC,
The following step from the https://www.htmlelements.com/docs/grid/#angular guide is very important and should solve your issue:
3. Adding CSS reference
The following CSS file is available in ../node_modules/smart-webcomponents-angular/ package folder. This can be referenced in [src/styles.css] using following code.
@import 'smart-webcomponents-angular/source/styles/smart.default.css';
Another way to achieve the same is to edit the angular.json file and in the styles add the style.
"styles": [
"node_modules/smart-webcomponents-angular/source/styles/smart.default.css"
]
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.com