Skip to content

Keep sorted data in original order when updating data #411

Description

@schatzcleat

Really enjoying working with this package. I am trying to find a way to keep the rows in the same order after using updateReactable, even when the input data has changed the sort order.

The use case for this is when editing data directly in the table/making a determination of it, when the row gets updated it moves spots and can be difficult to track down.

Any thoughts on if there's a current way to implement this? Looks like in React there may be a way with the autoResetSortBy: false argument in useTable , but unsure if there is a way to access that from R/Shiny.

https://stackoverflow.com/questions/66656018/prevent-re-sort-on-data-change-or-while-row-is-being-edited

Thanks for the advice.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions