Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paging #5

Open
cilerler opened this issue Nov 28, 2017 · 5 comments
Open

Paging #5

cilerler opened this issue Nov 28, 2017 · 5 comments

Comments

@cilerler
Copy link

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

@tom-englert
Copy link
Collaborator

tom-englert commented Nov 28, 2017

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.

@cilerler
Copy link
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.

@tom-englert
Copy link
Collaborator

tom-englert commented Dec 3, 2017

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...

@cilerler
Copy link
Author

cilerler commented Dec 3, 2017

Thanks

@bytefish
Copy link

bytefish commented Jun 18, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants