Skip to content

Column resizing and sorting in EasyGrid - #210

Merged
korzh merged 10 commits into
devfrom
feature/easygrid-resize-sort
Jul 26, 2026
Merged

Column resizing and sorting in EasyGrid#210
korzh merged 10 commits into
devfrom
feature/easygrid-resize-sort

Conversation

@korzh

@korzh korzh commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

melnalex and others added 10 commits June 16, 2026 11:18
…onditional cursor)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…or, simplify guard)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- suppress the click synthesized after a resize drag so finishing a resize
  (even past the min-width point) never triggers a column sort
- in resizeColumns, set column.width to the natural header width when there are
  no data cells, so a resize on an empty grid does not snap the column width

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Save bodyViewport.scrollLeft before clearDOM wipes the DOM and restore it
after the body is rendered, so sorting/paging no longer jumps the grid to 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@korzh
korzh merged commit bfac582 into dev Jul 26, 2026
4 checks passed
@korzh
korzh deleted the feature/easygrid-resize-sort branch July 26, 2026 18:22
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.

2 participants