Skip to content

Conversation

@Artur-
Copy link
Member

@Artur- Artur- commented Jan 22, 2026

Add three new methods to GridElement for efficient grid cell extraction:

  • dumpVisibleCells(): dumps currently visible cells in one browser round-trip
  • dumpAllCells(): dumps all grid cells by scrolling through pages
  • dumpCells(fromRow, toRow): dumps cells for a specific row range

This addresses the performance issue when testing grid content, reducing browser round-trips from N×M (one per cell) to 1-50 requests depending on grid size, resulting in 20-500x performance improvement.

Only visible columns are included in the output. Hidden columns are filtered out automatically.

Fixes vaadin/testbench#1876

Add three new methods to GridElement for efficient grid cell extraction:
- dumpVisibleCells(): dumps currently visible cells in one browser round-trip
- dumpAllCells(): dumps all grid cells by scrolling through pages
- dumpCells(fromRow, toRow): dumps cells for a specific row range

This addresses the performance issue when testing grid content, reducing
browser round-trips from N×M (one per cell) to 1-50 requests depending on
grid size, resulting in 20-500x performance improvement.

Only visible columns are included in the output. Hidden columns are filtered
out automatically.

Fixes #1876
@sonarqubecloud
Copy link

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fast Grid Dump

2 participants