Feature/2111 toggle header options#4580
Conversation
-- Add the header options section for the visibility setting -- Render conditionally the header part based on the setting
-- Remove JS convertible -- Set isBindProperty and isTriggerProperty to false
-- PositionedContainer : Add padding-bottom: 42px in case of Table widget
-- Remove extra space when the header options is all hidden
This reverts commit 1d3c2da.
-- Apply some cleanup
-- Adjust pageSize -- Change column header height -- Restore the logic for renderEmptyRow
|
The feature works now. But there is an issue with old tables. There are too many extra rows. This doesn't happen for the new table widgets dropped on the canvas. @riodeuno Don't know if some kinda migration is required here. @vivekverma2312 can we test this Deploy preview thoroughly. |
|
/ok-to-test sha=c1557c1 |
|
@somangshu Issues observed so far:
|
@riodeuno will need some help here. How do we migrate the old table for this case? |
SatishGandham
left a comment
There was a problem hiding this comment.
Looks good except for the small change requested.
-- Use isHeaderVisible variable for conditional rendering
|
@wmdev0808 some related tests are failing here! Can you check |
Hi @somangshu, I've reviewed, but I don't think it is directly related to the current PR. |
|
@wmdev0808 some test fails here because the tests cannot find the table header. Check this out. @vicky-primathon can you take a look? |
|
Sure @somangshu looking into it |
|
@wmdev0808 @somangshu we are hiding table header section by default, this is causing table test cases to fail. Can we enable the table header toggles by default |
|
@vicky-primathon this needs migration I believe. For an old table widget, the header options are hidden by default. Please help @wmdev0808 with this! |
|
Okay @somangshu |
-- Add a migration for the header options visibilities
vicky-primathon
left a comment
There was a problem hiding this comment.
Looks good to me
|
Tested Deploy Preview and working fine. Good to merge into release. |
|
@yatinappsmith @NandanAnantharamu tests failing here! |
Description
Fixes #2111
Type of change
How Has This Been Tested?
Checklist:
Test coverage results 🧪
🟢 Total coverage has increased