Skip to content

WPF: Keep selection when calling GridView.ReloadData() #1360

Description

@TomQv

Sometimes data is changing and the GridView needs to be refreshed.

For this I call GridView.ReloadData(rows);

  • the overload with the row-numbers is actually useless, because on the Wpf-side it all just ends at Control.Items.Refresh().

  • this call is clearing the current selection. Is there a way to keep the selection and not to get a SelectionChanged-event?

btw on mac this works fine, no problems. So again a stupid wpf-thing?

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions