primevue icon indicating copy to clipboard operation
primevue copied to clipboard

DataTable: Make Filter and Sort icons customizable

Open noel-srocha opened this issue 2 years ago • 0 comments

Describe the feature you would like to see added

Right now, as far as I read from the documentation, I'm not able to configure the DataTable's icons to use another icon library instead of PrimeIcons. I believe PrimeVue and other Prime frameworks would benefit if the settings were flexible.

Is your feature request related to a problem?

I'm using Font Awesome icon library with PrimeVue in one of my companies' projects, but, according to the DataTable's documentations, there are no properties to customize the mentioned icons.

It would help the UI's standardization if the DataTable's icons settings were flexible.

Describe the solution you'd like

It would be great if the following properties were added to the DataTable component:

  1. sortIcon -> This property would configure the icon to describe sorting operations;

  2. filterIcon -> Same as the above, but for the filter.

Describe alternatives you have considered

No response

Additional context

No response

noel-srocha avatar Aug 12 '22 20:08 noel-srocha