Skip to content

feat: grid horizontal virtualization - #75

Merged
bluestreak01 merged 26 commits into
mainfrom
vi_lateral_virt
Feb 3, 2023
Merged

bluestreak01 merged 26 commits into
mainfrom
vi_lateral_virt

Conversation

@bluestreak01

@bluestreak01 bluestreak01 commented Jan 30, 2023 •

Copy link
Copy Markdown
Member

On wide tables or SQLs producing large number of columns the existing grid struggles. That is both render and navigate the data. This implementation renders fixed number of HTML elements that are reused as grid is navigated.

Additionally fixed the following

  • hover is disabled when grid is scrolled and re-enabled when scrolling stops
  • fixed glitch causing unexpected left-right scrolling. To reproduce on master, jump to end of dataset, scroll few rows up and scroll window left or right. You can see that active row jumps to bottom of the grid as you scroll left and right
  • grid no longer uses pct for column width if columns do not fill the canvas, new grid looks like this:

image

Also done

  • grid resize doesn't change virtual windows size
  • column resize
  • row number column
  • header restyling
  • copy cell value into clipboard with standard keyboard shortcut

@bluestreak01
bluestreak01 marked this pull request as draft January 30, 2023 22:21
@bluestreak01
bluestreak01 marked this pull request as ready for review February 3, 2023 16:11
@bluestreak01
bluestreak01 merged commit b3cdb1f into main Feb 3, 2023
@bluestreak01
bluestreak01 deleted the vi_lateral_virt branch February 3, 2023 19:51
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