Skip to content

feat(ui5-table-cell): merged property added#13297

Merged
aborjinik merged 3 commits intomainfrom
table-vertical-cell-merging
Mar 30, 2026
Merged

feat(ui5-table-cell): merged property added#13297
aborjinik merged 3 commits intomainfrom
table-vertical-cell-merging

Conversation

@aborjinik
Copy link
Copy Markdown
Contributor

@aborjinik aborjinik commented Mar 18, 2026

  • New merged boolean property on ui5-table-cell

  • Row borders refactored: border-top per cell instead of border-bottom per row

  • First row top border / last row bottom border handled via :first-of-type / :last-of-type

  • Selection highlight uses box-shadow instead of border-bottom to avoid layout shifts

  • Table now uses inset-inline-end/start, the old left/right + :dir(rtl) removed

  • When merged, cell's top border becomes transparent and content is hidden

  • Merging is disabled on hover/focus, content reveals with an opacity transition but border stays transparent

  • Merging is also disabled when the row enters popin mode

  • Implemented via CSS Space Toggle trick, no JS needed

  • When a selection column is present, its border also syncs with the first merged cell

  • New TableCell website sample added for merged cells

  • Partially fixes [Feature Request]: <ui5-table-cell> should support colspan #7238

  • Also fixes [TableSelectionMulti]: Compact does not apply to checkboxes #13299

  • CPOUIFTEAMB-2624

  • CPOUIFTEAMB-2449

  • CPOUIFTEAMB-1348

@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

ui5-webcomponents-bot commented Mar 18, 2026

🧹 Preview deployment cleaned up: https://pr-13297--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 18, 2026 21:32 Inactive
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch from 0788571 to 3850936 Compare March 18, 2026 22:03
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 18, 2026 22:10 Inactive
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch 2 times, most recently from f65230c to 3d669be Compare March 19, 2026 11:20
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 19, 2026 11:27 Inactive
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch from 3d669be to 0b5001e Compare March 27, 2026 15:30
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 27, 2026 15:37 Inactive
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch from 0b5001e to 04a8a2a Compare March 27, 2026 16:31
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 27, 2026 16:38 Inactive
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch from 04a8a2a to 50ee986 Compare March 27, 2026 16:58
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 27, 2026 17:06 Inactive
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch from 50ee986 to 11d6ff6 Compare March 27, 2026 17:27
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 27, 2026 17:34 Inactive
@aborjinik aborjinik requested review from KvM2 and simlin March 27, 2026 17:43
Comment thread packages/main/cypress/specs/Table.cy.tsx
Comment thread packages/main/src/TableCell.ts Outdated
- New merged boolean property on ui5-table-cell
- Row borders refactored: border-top per cell instead of border-bottom per row
- First row top border / last row bottom border handled via :first-of-type / :last-of-type
- Selection highlight uses box-shadow instead of border-bottom to avoid layout shifts
- Table now uses inset-inline-end/start, the old left/right + :dir(rtl) removed
- When merged, cell's top border becomes transparent and content is hidden
- Merging is disabled on hover/focus, content reveals with an opacity transition
- Merging is also disabled when the row enters popin mode
- Implemented via CSS Space Toggle trick, no JS needed
- When a selection column is present, its border also syncs with the first merged cell
- New TableCell website sample added for merged cells

- Partially fixes #7238
- CPOUIFTEAMB-2624
- New merged boolean property on ui5-table-cell
- Row borders refactored: border-top per cell instead of border-bottom per row
- First row top border / last row bottom border handled via :first-of-type / :last-of-type
- Selection highlight uses box-shadow instead of border-bottom to avoid layout shifts
- Table now uses inset-inline-end/start, the old left/right + :dir(rtl) removed
- When merged, cell's top border becomes transparent and content is hidden
- Merging is disabled on hover/focus, content reveals with an opacity transition
- Merging is also disabled when the row enters popin mode
- Implemented via CSS Space Toggle trick, no JS needed
- When a selection column is present, its border syncs with the first merged cell
- New TableCell website sample added for merged cells

- Partially fixes #7238
- CPOUIFTEAMB-2624
- New merged boolean property on ui5-table-cell
- Row borders refactored: border-top per cell instead of border-bottom per row
- First row top border / last row bottom border handled via :first-of-type / :last-of-type
- Selection highlight uses box-shadow instead of border-bottom to avoid layout shifts
- Table now uses inset-inline-end/start, the old left/right + :dir(rtl) removed
- When merged, cell's top border becomes transparent and content is hidden
- Merging is disabled on hover/focus, content reveals with an opacity transition
- Merging is also disabled when the row enters popin mode
- Implemented via CSS Space Toggle trick, no JS needed
- When a selection column is present, its border syncs with the first merged cell
- New TableCell website sample added for merged cells

- Partially fixes #7238
- CPOUIFTEAMB-2624
@aborjinik aborjinik force-pushed the table-vertical-cell-merging branch from 11d6ff6 to b6ccc1f Compare March 30, 2026 14:21
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 30, 2026 14:28 Inactive
@aborjinik aborjinik merged commit c5ec5f3 into main Mar 30, 2026
15 checks passed
@aborjinik aborjinik deleted the table-vertical-cell-merging branch March 30, 2026 15:16
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 30, 2026 15:16 Inactive
Comment thread packages/main/src/TableCell.ts
Comment thread packages/main/src/TableCell.ts
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/main/src/TableCell.ts
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Comment thread packages/website/docs/_components_pages/main/Table/TableCell.mdx
Copy link
Copy Markdown
Contributor

@KvM2 KvM2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good texts, just a few minor things that keep reappearing.

@aborjinik
Copy link
Copy Markdown
Contributor Author

@KvM2 Thank you! I will take care of them in a separate change and let you know

@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version v2.21.0-rc.4 🎉

The release is available on v2.21.0-rc.4

Your semantic-release bot 📦🚀

@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version v2.21.0 🎉

The release is available on v2.21.0

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TableSelectionMulti]: Compact does not apply to checkboxes [Feature Request]: <ui5-table-cell> should support colspan

4 participants