appsmith
appsmith copied to clipboard
fix:Sort issue for action column in table.
issue: 27430
fixed the issue by removing the sort functionality for the action type column such as save/discard column.
The table won't sort on clicking on the column and removed the sort options from the menu of this column.
menu options for the action type column after fix:
menu options for other columns after the fix:
Summary by CodeRabbit
-
New Features
- Enhanced the
HeaderCell
component to conditionally render sorting options based on column type, improving user interface clarity.
- Enhanced the
-
Bug Fixes
- Updated logic to ensure that sorting options are correctly displayed or hidden for action columns, preventing irrelevant options from appearing.
-
Tests
- Introduced unit tests for the
HeaderCell
component to validate rendering and functionality across different column configurations.
- Introduced unit tests for the