Is there any way to replace sorting icpns in primeng table component? #1862
Answered
by
mehmetcetin01140
cloudy-repo
asked this question in
PrimeNG
-
this line creates sorting icons on table header:
and the icons are always
is there any way to replace these icons with other primg ng icons |
Beta Was this translation helpful? Give feedback.
Answered by
mehmetcetin01140
May 16, 2024
Replies: 1 comment
-
Hi, you can replace the existing icons with your desired icon using the "sorticon" template. I have created an example for you. https://stackblitz.com/edit/pzkjxs-vkku4c?file=src%2Fapp%2Ftable-removable-sort-demo.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mehmetcetin01140
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you can replace the existing icons with your desired icon using the "sorticon" template. I have created an example for you. https://stackblitz.com/edit/pzkjxs-vkku4c?file=src%2Fapp%2Ftable-removable-sort-demo.html