Backend.AI Web UI for web / desktop app (Windows/Linux/macOS). Backend.AI Web UI provides a convenient environment for users, while allowing various commands to be executed without CLI. It also provides some visual features that are not provided by the CLI, such as dashboards and statistics.
The auto-width property of vaadin grid scans all cells in that column and determines the column width to fit the widest cell.
If the column item data is updated, the column will be resized with the new data, so the user-adjusted column width will be reset and the focus will be on the reset column.
Feature
Removed the auto-width attribute and fixed it to not recalculate the width even if the data is updated by specifying the width directly.
Checklist: (if applicable)
[ ] Mention to the original issue
[ ] Documentation
[ ] Minium required manager version
[ ] Specific setting for review (eg., KB link, endpoint or how to setup)
[ ] Minimum requirements to check during review
[ ] Test case(s) to demonstrate the difference of before/after
This PR Resolves #2389 Issue.
Why the bug occurred?
The
auto-width
property of vaadin grid scans all cells in that column and determines the column width to fit the widest cell. If the column item data is updated, the column will be resized with the new data, so the user-adjusted column width will be reset and the focus will be on the reset column.Feature
Removed the
auto-width
attribute and fixed it to not recalculate the width even if the data is updated by specifying the width directly.Checklist: (if applicable)