Icons not showing up

For sorting and paging the icons are not showing up in the grid
In angular.JSON i have referenced
"node_modules/bootstrap/dist/css/bootstrap.min.css",
 "./node_modules/@syncfusion/ej2-base/styles/bootstrap.css",
              "./node_modules/@syncfusion/ej2-angular-grids/styles/bootstrap.css",
              "./node_modules/@syncfusion/ej2-angular-inputs/styles/material.css",
              "./node_modules/@syncfusion/ej2-base/styles/material.css",
              "./node_modules/@syncfusion/ej2-buttons/styles/material.css",
              "./node_modules/@syncfusion/ej2-popups/styles/material.css",
              "./node_modules/@syncfusion/ej2-lists/styles/material.css",
              "./node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css",
              "./node_modules/@syncfusion/ej2-angular-grids/styles/material.css"



5 Replies

DR Dhivya Rajendran Syncfusion Team February 25, 2020 10:26 AM UTC

Hi Vin, 

Greetings from Syncfusion support. 

Query : For sorting and paging the icons are not showing up in the grid 

From your code we have found that, you are using two different type of themes ( bootstrap and materials ) in your style sheet so that the styles are overridden and icons are not loaded properly in Grid. We suggest you to use either bootstrap or material theme for Grid. Please refer the below help documentation for more information  


            "./node_modules/@syncfusion/ej2-base/styles/ material.css",
              . . . . . .  



Please get back to us if you require further assistance on this. 

Regards, 
R.Dhivya 



VI vin February 26, 2020 03:22 AM UTC

As per the documentation
I added in styles.css

@import '../node_modules/@syncfusion/ej2-base/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-calendars/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-angular-grids/styles/material.css';

And i removed the references from angular.JSON
 "styles": [
              "node_modules/bootstrap/dist/css/bootstrap.min.css",
              "src/styles.css",
              // "./node_modules/@syncfusion/ej2-icons/styles/bootstrap.css",
              // "./node_modules/@syncfusion/ej2-base/styles/bootstrap.css",
              // "./node_modules/@syncfusion/ej2-angular-grids/styles/bootstrap.css",
              // "./node_modules/@syncfusion/ej2-base/styles/material.css",
              // "./node_modules/@syncfusion/ej2-angular-inputs/styles/material.css",              
              // // "./node_modules/@syncfusion/ej2-buttons/styles/material.css",
              // // "./node_modules/@syncfusion/ej2-popups/styles/material.css",
              // // "./node_modules/@syncfusion/ej2-lists/styles/material.css",
              // // "./node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css",
              // "./node_modules/@syncfusion/ej2-angular-grids/styles/material.css"
              // "node_modules/font-awesome/css/font-awesome.css"
            ],

Still it didn't help







VI vin replied to vin February 26, 2020 11:37 PM UTC

As per the documentation
I added in styles.css

@import '../node_modules/@syncfusion/ej2-base/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-calendars/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';  
@import '../node_modules/@syncfusion/ej2-angular-grids/styles/material.css';

And i removed the references from angular.JSON
 "styles": [
              "node_modules/bootstrap/dist/css/bootstrap.min.css",
              "src/styles.css",
              // "./node_modules/@syncfusion/ej2-icons/styles/bootstrap.css",
              // "./node_modules/@syncfusion/ej2-base/styles/bootstrap.css",
              // "./node_modules/@syncfusion/ej2-angular-grids/styles/bootstrap.css",
              // "./node_modules/@syncfusion/ej2-base/styles/material.css",
              // "./node_modules/@syncfusion/ej2-angular-inputs/styles/material.css",              
              // // "./node_modules/@syncfusion/ej2-buttons/styles/material.css",
              // // "./node_modules/@syncfusion/ej2-popups/styles/material.css",
              // // "./node_modules/@syncfusion/ej2-lists/styles/material.css",
              // // "./node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css",
              // "./node_modules/@syncfusion/ej2-angular-grids/styles/material.css"
              // "node_modules/font-awesome/css/font-awesome.css"
            ],

Still it didn't help






Any help please


VI vin February 27, 2020 03:52 AM UTC

I got it,  my font family with !important was overwriting the icon font
html * {
    font-family: Nunito Sans !important;

}


PK Prasanna Kumar Viswanathan Syncfusion Team February 27, 2020 10:33 AM UTC

Hi Vin, 
 
We are happy to hear that your issue has been solved. 
 
Please get back to us if you need any further assistance. 
 
Regards, 
Prasanna Kumar N.S.V 


Loader.
Up arrow icon