appsmith
appsmith copied to clipboard
[Bug]: Sort/Freeze controls still exist in the Table header after sorting and freezing have both been disabled.
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
The sort/freeze controls still exist in the DOM if sorting and freezing are disabled for a column. This causes unnecessary squeeze on the column headers.
I expect the DOM element to disappear and give way to the header text if both behaviors are disabled.
Here is an example of this squeeze. If the user makes one of the columns any smaller, the header text is truncated.
Steps To Reproduce
- D&D a table onto the canvas.
- Disable sorting and freezing for the table.
- Observe that the dropdown arrow still exists in the header.
- Reduce the width of one of the columns.
- Observe that this control takes up space and causes premature truncation of the header text.
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud v1.9.18-SNAPSHOT
This will help the mobile App I'm developing immensely with Real Estate. Thanks!
@somangshu @dilippitchika Can I work on this issue?
@Sheikh-JamirAlam yes sure, assigning this to you. Feel free to raise a PR in the next few days.
@AS-Laguna @dilippitchika Should I raise a PR?
Yes, please 😄
Please review the PR @AS-Laguna @dilippitchika