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
DataTable's sorting arrows next to column names are always shown, even if the specified column has the canSort prop set to false.
Cursor pointer is not shown (regular cursor is on hover), but the sorting functionality is still present.
Additionally, sorting on the selector column (if <DataTable.Selector /> is defined) is present, which makes no sense since this column shouldn't be sortable.
Steps to reproduce
render DataTable
click on a certain column header
the column sorting functionality is present in all use cases, regardless of the canSort prop
Expected behavior
Columns with canSort set to false shouldn't have sorting functionality when clicking on the column header.
Selector columns shouldn't be sortable.
Actual behavior
Columns with canSort set to false have sorting functionality when clicking on the column header.
Selector columns are always sortable.
The text was updated successfully, but these errors were encountered:
Basic information
Bug description
DataTable
's sorting arrows next to column names are always shown, even if the specified column has thecanSort
prop set tofalse
.Cursor pointer is not shown (regular cursor is on hover), but the sorting functionality is still present.
Additionally, sorting on the selector column (if
<DataTable.Selector />
is defined) is present, which makes no sense since this column shouldn't be sortable.Steps to reproduce
canSort
propExpected behavior
Columns with
canSort
set tofalse
shouldn't have sorting functionality when clicking on the column header.Selector columns shouldn't be sortable.
Actual behavior
Columns with
canSort
set tofalse
have sorting functionality when clicking on the column header.Selector columns are always sortable.
The text was updated successfully, but these errors were encountered: