Skip to content

feat(ui5-table): allow for custom styling #1627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 19, 2020
Merged

Conversation

vladitasev
Copy link
Contributor

@vladitasev vladitasev commented May 15, 2020

Currently the user has no control over size and positioning for ui5-table-column, ui5-table-row and ui5-table-cell.

This change exposes shadow parts that make it possible to control these settings.
Additionally, the Table Column must be one element only in order for the positioning to work, so the nested div is removed.

Important: exposing these shadow parts to a large extend binds us to using th, tr and td as people will start setting CSS properties that work on their respective display modes, and wouldn't work on div, if we change it down the road.

closes: #1626

@vladitasev vladitasev merged commit 232e7f5 into master May 19, 2020
@vladitasev vladitasev deleted the table-custom-styling branch May 19, 2020 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-table: column/row/cell size and alignment should be customizable
3 participants