@primevue datatable filter icon change #46
Answered
by
atakantepe
subhajit-8
asked this question in
PrimeVue
-
Can we change primevue datatable default filter icon to a custom one. I need a dropdown icon instead of filter icon. Please help me with an update on the same |
Beta Was this translation helpful? Give feedback.
Answered by
atakantepe
Sep 17, 2023
Replies: 1 comment
-
Hi, yes, you can change the icon using custom icons. You can check these docs You can add your own icon like this.
➡️ Also, you can check this example https://stackblitz.com/edit/xqthbj?file=src%2FApp.vue |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
atakantepe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, yes, you can change the icon using custom icons. You can check these docs
➡️ https://primevue.org/customicons/
➡️ https://primevue.org/datatable/#api.column.slots.filtericon
You can add your own icon like this.