Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Customize IgxGrid Sorting Indicator Icons With Templates

Customize IgxGrid Sorting Indicator Icons With Templates

New Discussion
Michael Dahm
Michael Dahm asked on May 19, 2022 9:03 AM

Hello

I currently have a problem with a sortable grid. I want to include individual icons like this Angular Grid Sorting | Data Sorting | Ignite UI for Angular | infragistics, but unfortunately I can’t figure out where exactly to put the ng-template. I already have all the options that made sense to me, but the grid does not want to take my icons.

This is my grid:

                
                    
                        
                        
                            
                        
                        {{cell.value}}
                    
                
                

                    
                        
                        {{cell.value}}%
                    
                
                
                
                    
                        {{ cell.value }}
                        -
                    
                
                
                    

 

 

swap_vertarrow_downwardarrow_upward

Sign In to post a reply

Replies

  • 0
    Riva Ivanova
    Riva Ivanova answered on May 19, 2022 9:03 AM

    Hello Michael,

    Thank you for posting in our community!

    I have been looking at your question and have prepared a small sample trying to reproduce the described behavior. However, on my side, everything works as expected and as could be observed in the attached GIF file, the sorting indicator icons are changed successfully. I have tested the behavior under version 13.1.15.

    Additionally, in order to be able to assist you further, I will need some additional information regarding your scenario. Could you please clarify under which version of Ignite UI for Angular you are experiencing this issue?

    I am asking this question, because as mentioned in our official change log notes here, directives for re-templating header sorting indicators are introduced in version 13.0.0 and in case the igniteui-angular version on your side is older, then it is expected the icons to remain the same.

    Here could be found my sample for your reference. Please test it on your side and let me know how it behaves.

    Thank you for your cooperation. Looking forward to hearing from you.

    Sincerely,Riva IvanovaEntry Level Software Developer

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Michael Dahm
Favorites
0
Replies
1
Created On
May 19, 2022
Last Post
3 years, 9 months ago

Suggested Discussions

Created by

Created on

May 19, 2022 9:03 AM

Last activity on

Feb 23, 2026 7:36 AM