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

When clearing table search, OMM should attempt to keep any selected rows in view #188

Open
davetsay opened this issue Aug 5, 2024 · 0 comments

Comments

@davetsay
Copy link
Collaborator

davetsay commented Aug 5, 2024

Is your feature request related to a problem? Please describe.

When filtering a table in OMM, if the user selects 1 or more rows, then clears the filter, typically they cleared it but still wanted to see the thing they had selected. Instead, OMM just fills the table back up and the user has to scroll back down to the row they had selected.

Describe the solution you'd like
I believe the most desirable behavior here is to allow the user to:

Filter a table.
Select 1-N rows (for example, 300, 332 445, 562) while filtered
Clear the filter
OMM will remember that row 300 was the first ‘selected’ row, and center the view on row 300.
OMM will recall that row 300,332,445, and 562 were selected, and will continue to have each of those selected (clearing filters clears your selected rows right now)

DEV NOTE:
If we cannot retain position of row, maybe we can just display somewhere the indexes of the rows, and then they could scroll to that row easily still. Or, inspector function to scroll to selected.

Testing Instructions

  1. TBD on solution implemented

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant