Pradvaar cruz Pradvaar cruz - 10 months ago 82
AngularJS Question

UI Grid CSS not working

I tried to create a grid using UI grid (Recent version of ngGrid) which is unstable version and integrated in my current project.

It is Not correctly displaying the (icon angle down and row selected icon) as needed While including the CSS file in project (by downloading the file and uploading) its giving me display errors as shown below.

But, if i directly give the web url for CSS file in my is displaying correctly.

//web url:
<link rel="stylesheet" href="" type="text/css">

//my url
<link href="~/Scripts/ui-grid-unstable.css" rel="stylesheet" />

I don't want to depend on web URL to there any solution that I can implement on my side.

Please refer the image for before and after using web link.

link for Images:

The top one is how it's supposed to and the bottom one explains my display error.

ThankQ for your time.

Answer Source

This is a simple error. Make sure you have the ttf,woff and svg files from the ui-grid download in your css folder. From you code, you should have it under ~/Scripts/ folder.