How can i change the sort icon to "glyphicon-sort-by-attributes" and "glyphicon-sort-by-attributes-alt" icons as attached.
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 20 Oct 2015, 11:40 AM
Hello Manoj,
Thank you for contacting Telerik Support.
In order to use glyph icons instead of the built-in sort icons of the grid you will have to override the default styles for the sort icons and use the same styles as the glyph classes.
For your convenience, following is an example for overriding the default icons with the icons that you have mentioned in your post:
On a side note, please have in mind that the glyph approach needs specific class names to be added to the element in order to load the icons and for using such custom icons (without overriding the built-in styles), you need to use templates, as demonstrated in the following example for the Menu widget: