Skip to content

Paging #5

Description

@cilerler

Would you please add an example of how to combine filtering and paging?

Activity

  1. tom-englert commented on Nov 28, 2017

    @tom-englert
    Collaborator

    If you need paging, you have to do server side filtering.

    I think you will have to implement your own ICollectionView and pass the filters to the server.

  2. cilerler commented on Nov 28, 2017

    @cilerler
    Author

    I have a oData service that I'm trying to consume via datagrid. So if I didn't miss understood you, you are saying that I have to implement middleware in between. Please confirm.

  3. tom-englert commented on Dec 3, 2017

    @tom-englert
    Collaborator

    Yes, however I'm not sure if that will work. E.g. ICollectionView.Filter is a simple Predicate<object>, not an expression, so I have no idea how that could be passed to a server. Maybe the DGX would need to be aware of this scenario, so it can pass an expression instead of a compiled function...

  4. cilerler commented on Dec 3, 2017

    @cilerler
    Author

    Thanks

  5. bytefish commented on Jun 18, 2024

    @bytefish

    I am late to the game, but I leave it here in case someone comes across this issue. I have added an example for working with an OData Service with a WPF DataGrid at:

    @tom-englert Thanks for this great library!

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions