Skip to content

Paging without loading all data from the backend first #281

@ssteiner

Description

@ssteiner

Hi

I'm dealing with large sets of data. The way the BsBaseGridRepository is written, it needs all records to be loaded in the Index and then does queries on that data.

If you're dealing with large sets of data, you wouldn't want to load all the data from your backend (be it a database.. or even worse, a remote server).. instead you'd want the first page of records and a total record count so the pager can be constructed. Then upon every paging operation, the next page is actually loaded from your backend.

What's the most effective way to go about that? I see a bunch of Counts in the BsBaseGridRepository - which has me worried that I need to override large swaths of standard functionality just to get to an effective paging that only loads data that I actually need.

Thanks
Stephan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions