Skip to content

docs(QTable): clarify virtual scroll usage with expanded rows and multiple QTr per data row (fix #18304)#18319

Merged
rstoenescu merged 1 commit into
quasarframework:devfrom
Aditya07771:docs-qtable-virtual-scroll-18304
Jul 2, 2026
Merged

docs(QTable): clarify virtual scroll usage with expanded rows and multiple QTr per data row (fix #18304)#18319
rstoenescu merged 1 commit into
quasarframework:devfrom
Aditya07771:docs-qtable-virtual-scroll-18304

Conversation

@Aditya07771

Copy link
Copy Markdown
Contributor

Closes #18304.

This PR adds two clarifying ::: tip blocks to the QTable virtual scrolling documentation.

It explains:

  • When rendering more than one QTr for a single data row, each row should have a unique key
  • Extra rows should usually use q-virtual-scroll--with-prev so VirtualScroll measures them together with the previous row
  • Rows that should be excluded from size calculation should use q-virtual-scroll--skip
  • This is especially important when combining virtual scroll with custom body slots, expanded rows, and sticky headers

The goal is to make the expected usage clearer and help users avoid incorrect scroll height, jumping scroll position, and expansion measurement issues.

@rstoenescu rstoenescu merged commit 2be6566 into quasarframework:dev Jul 2, 2026
@rstoenescu

Copy link
Copy Markdown
Member

Thanks for contributing!

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.

docs(QTable): clarify virtual scroll usage with expanded rows and multiple QTr per data row

2 participants