Adding ability to fix table columns in place#7019
Merged
eradman merged 4 commits intogetredash:masterfrom Jul 17, 2024
Merged
Conversation
This change involved adding an extra option to the GridSettings editor, adding the "fixed" option to columns, and adding styling for the fixed columns. In order to change the number of fixed columns, which will default to 0, one has to go to Edit visualization -> Grid -> Choose number of columns to fix -> Save.
2c1354b to
a0bad9d
Compare
a0bad9d to
bbdf73a
Compare
Contributor
Author
Contributor
Author
|
In order to fix this issue, I changed the table.js, and therefore the Cypress tests that were failing, to not count this invisible row. |
Without this, Cypress was counting the
.ant-table-measure-row, which is an invisible row
at the top of the table created by
scroll = {{x : 'max-content'}} in Renderer.tsx.
This was causing the query/filters_spec.js and
dashboard/filters_spec.js Cypress tests to fail.
62af527 to
45fe4a7
Compare
eradman
approved these changes
Jul 17, 2024
Collaborator
eradman
left a comment
There was a problem hiding this comment.
Very nice. Tested manually, no issues found
Member
|
@ezraodio1 @eradman We've received a credible report that this PR broke vertical scrolling behaviour when there's greater than some number (25?) results. Any ideas? I'm not yet super clueful with the front end pieces of Redash, so can't be super constructive with this bit just yet. |
2 tasks
eradman
added a commit
to eradman/redash
that referenced
this pull request
Aug 23, 2024
This reverts commit ebb0e2c. Restyled by prettier
justinclift
pushed a commit
that referenced
this pull request
Aug 26, 2024
eradman
added a commit
to StarfishStorage/redash
that referenced
this pull request
Aug 27, 2024
This reverts commit ebb0e2c. This feature disabled vertical scroll in query results: getredash#7127
harveyrendell
pushed a commit
to pushpay/redash
that referenced
this pull request
Jan 8, 2025
This change involved adding an extra option to the GridSettings editor, adding the "fixed" option to columns, and adding styling for the fixed columns. In order to change the number of fixed columns, which will default to 0, one has to go to Edit visualization -> Grid -> Choose number of columns to fix -> Save.
harveyrendell
pushed a commit
to pushpay/redash
that referenced
this pull request
Jan 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What type of PR is this?
Description
This change involved adding an extra option to the GridSettings editor, adding the "fixed" option to columns, and adding styling for the fixed columns. In order to change the number of fixed columns, which will default to 0, one has to go to Edit visualization -> Grid -> Choose number of columns to fix -> Save.
How is this tested?
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
My.Movie.2.mp4