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

Use setItemsPageable in data binding docs #4148

Merged
merged 10 commits into from
Mar 11, 2025
Merged

Use setItemsPageable in data binding docs #4148

merged 10 commits into from
Mar 11, 2025

Conversation

Artur-
Copy link
Member

@Artur- Artur- commented Feb 25, 2025

Related to #4136

@github-actions github-actions bot added the Language unchecked English language and AsciiDoc formatting checks haven't been done label Feb 25, 2025
@Artur- Artur- requested a review from mshabarov February 25, 2025 09:57
@russelljtdyer russelljtdyer added Language checking English language and AsciiDoc formatting checking is in progress and removed Language unchecked English language and AsciiDoc formatting checks haven't been done labels Feb 28, 2025
@russelljtdyer russelljtdyer added Language checked English language and AsciiDoc formatting checks done and removed Language checking English language and AsciiDoc formatting checking is in progress labels Feb 28, 2025
Comment on lines 156 to 161
If you Spring service requires additional parameters, you can use the longer version

[source,java]
----
grid.setItemsPageable(pageable -> productService.list(pageable, somethingElse));
----
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

@mshabarov mshabarov left a 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.

@Artur-
Copy link
Member Author

Artur- commented Mar 11, 2025

Something is better than nothing

@Artur- Artur- merged commit 092dde6 into latest Mar 11, 2025
3 of 4 checks passed
@Artur- Artur- deleted the setitemspageable branch March 11, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language checked English language and AsciiDoc formatting checks done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants