-
Notifications
You must be signed in to change notification settings - Fork 205
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
Use setItemsPageable in data binding docs #4148
Conversation
If you Spring service requires additional parameters, you can use the longer version | ||
|
||
[source,java] | ||
---- | ||
grid.setItemsPageable(pageable -> productService.list(pageable, somethingElse)); | ||
---- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what's the goal of adding this code snippet as it shows how one can modify the service method, whereas the same setItemsPageable
is used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd replace somethingElse
with a meaningful example, e.g. a full text search string filter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general looks good to me, nice work done! The only comment is about somethingElse
example.
Something is better than nothing |
Related to #4136