jbetancur / react-data-table-component

A responsive table library with built-in sorting, pagination, selection, expandable rows, and customizable styling.
https://react-data-table-component.netlify.app
Apache License 2.0
2.02k stars 407 forks source link

If sorting again second column it removes previous sorting icons from table header column #1241

Open khushahal opened 1 week ago

khushahal commented 1 week ago

Hi, I am using the latest version of react-data-table whihch is 7.6.2

I want to achive a multi sort functionality.

ex:- step 1: first i can apply sorting on a column step 2: If i am clicking on second column's header to sort the table then previous sorting icon from a column should not be clear.

Sorting logic i can add but facing issue in icon persistent

anyone can help here for that ?

khushahal commented 1 week ago

@jbetancur