-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Adding ability to fix table columns in place #7019
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
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. Tested manually, no issues found
@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. |
This reverts commit ebb0e2c. Restyled by prettier
This reverts commit ebb0e2c. This feature disabled vertical scroll in query results: getredash#7127
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