I’ve updated from font awesome 4 to 5 and the sort icons weren’t working. I added the following code and the icons came back:
$.jgrid.defaults.iconSet = “fontAwesome”;
$.extend(($).jgrid.styleUI.Bootstrap, {
common: {
icon_base: ‘fa’
}
});
The issue that I’ve come across is when a column is sorted both arrows show up as enabled so the user can’t tell if it’s ascending or descending. Is there a fix for this, or is there a better way to integrate font awesome 5 into the grid?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top