Skip to content

Force sync'd access and issue with selecting multiple items #13

Description

@TomArrow

This is my current config:

ThrottledLifoPageRequests().AsyncIndexAccess((a, b) => {
                        return new T();
                    });

Question 1: It all works beautifully when used in a Grid, but what do I do if I need to actually grab the data? Use case: I want all items of the current collection to be processed in some way. If I just loop through all the items, I end up with a lot that are just filled with the placeholder null values. Is there a way to force grab all items? This is kind of the opposite of what this is meant to do, but it would be useful. However I could workaround this by just doing the fetching directly instead.

Question 2: Near the start of the DataGrid I'm able to select multiple rows, but as I get a bit into the dataset, whenever I select multiple rows, they stay selected for a short time but then immediately deselect again on their own. I did read the notes in https://github.com/Yeah69/BFF.DataVirtualizingCollection/wiki/Issue-of-Refreshes-while-selecting-items and I think this is probably related but I'm not sure what to do here. Selecting a single item works fine no matter where. And I'm not even trying to select items across multiple scrollings, just from the visible items. For fun I tried binding the SelectedIndex thing but it didn't do much.

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