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

feat: render rows to a markup cache in BufferView #831

Merged
merged 2 commits into from
Nov 28, 2022

Conversation

csmig
Copy link
Member

@csmig csmig commented Nov 27, 2022

Modifies Ext.ux.grid.BufferView to cache pre-rendered row innerHTML into a document-fragment for quick assignment to row placeholders in the DOM. This is observed to noticeably reduce lag when scrolling rows.

Also:

  • adds support for line clamping for use in future features.
  • older source was reformatted for consistency

@csmig csmig merged commit 6d693fc into NUWCDIVNPT:main Nov 28, 2022
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.

1 participant