Skip to content
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

[OuiDataGrid][Proposal] Understand and Allow Auto fit and Customized Row Heights #1215

Open
1 of 3 tasks
ananzh opened this issue Jan 24, 2024 · 0 comments
Open
1 of 3 tasks
Assignees

Comments

@ananzh
Copy link
Member

ananzh commented Jan 24, 2024

rowHeightsOptions implementation provides flexibility for handling various content types in the data grid, especially when dealing with varying amounts of data in cells, such as multiline text. We need to first understand current workflow.

OuiDataGrid component should be able to implement auto-fit row heights based on cell content, which is particularly useful for handling multiline or variable-sized content (#5227, #4859, #5404). To auto-fit rows based on content, the grid needs a way to measure the content of each cell. Once the content height is measured, the grid can adjust the row's height to fit the content.

We should also allow customers to customize row heights in a data grid through a toolbar interface (ex: row height), integrate with density. Then capture customer row height input and update Grid state.

  • Proposal: Allow row height control in toolbar and customized row heights (Proposal:TODO)
@ananzh ananzh self-assigned this Jan 24, 2024
@ananzh ananzh changed the title [EuiDataGrid][Proposal] Understand and Allow Auto fit and Customized Row Heights [OuiDataGrid][Proposal] Understand and Allow Auto fit and Customized Row Heights Jan 24, 2024
@ananzh ananzh removed the untriaged label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants