You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be a nice idea to allow each table header to decide if it is sortable. Right now, the the able iSortable prop is used an passed down to the table headers.
Description
I have a sortable table (no render passed as prop), but one column is not sortable. As a developer, I should be able to set that column as not sortable without modifying the other columns.
Here is a sortable table, but the tags column is not sortable.
Goals / Use cases
This could be achieved by checking the isSortable prop to the headers, ie.
In the header object { key: "tags", "header": "tags", isSortable: false }
In the tableHeader (getHeaderProps) check the isSortable ...
Proposal -
It might be a nice idea to allow each table header to decide if it is sortable. Right now, the the able iSortable prop is used an passed down to the table headers.
Description
I have a sortable table (no render passed as prop), but one column is not sortable. As a developer, I should be able to set that column as not sortable without modifying the other columns.
Here is a sortable table, but the tags column is not sortable.
Goals / Use cases
This could be achieved by checking the isSortable prop to the headers, ie.
In the header object
{ key: "tags", "header": "tags", isSortable: false }
In the tableHeader (getHeaderProps) check the isSortable ...
Acceptance criteria
The text was updated successfully, but these errors were encountered: