feat: Add horizontal scrolling support to GridElement (#8046) [1 day]
Implements scrollToColumn method to enable horizontal scrolling in Grid, particularly useful when columnRendering is set to lazy. This addresses the issue where cells return null when columns are out of view.
New features:
- scrollToColumn(GridColumnElement) - scrolls to specific column
- scrollToColumn(int columnIndex) - scrolls to column by index
- isColumnInView(GridColumnElement) - checks if column is visible
- Automatic column scrolling in getCell() method
This enhancement allows reliable testing of grids with many columns and lazy column rendering, fixing the issue where it was impossible to distinguish between genuinely null cells and cells not rendered due to being out of view.
Fixes #8046
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Closing as completed by https://github.com/vaadin/flow-components/pull/8511.