appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

fix:Sort issue for action column in table.

Open saicharan-zemoso opened this issue 5 months ago • 8 comments

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: image

menu options for other columns after the fix: image

Summary by CodeRabbit

  • New Features

    • Enhanced the HeaderCell component to conditionally render sorting options based on column type, improving user interface clarity.
  • 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.

saicharan-zemoso avatar Sep 06 '24 08:09 saicharan-zemoso