I want to show an icon in all columns' headers when grid is in default state (No sorting applied) to let user know the columns are sortable and also want to customize the up and down arrow icons when sorting is applied.
1 Answer, 1 is accepted
answered on 19 Feb 2021, 09:01 PM
Grid header default state icon
In order to show an icon in the Kendo UI Grid Column Header when there is no sorting applied, use the kendoGridHeaderTemplate as seen below:
In this StackBlitz example, I have replaced the built-in sort icons and added an unsort icon in the Kendo UI Grid Header. Please make sure to set the encapsulation to ViewEncapsulation.None to set the built-in icons' style locally.
I hope this helps. Please let me know if I can further assist you.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.