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

Manual page number selection via number input with confirm button. #1124

Open
kolacekp opened this issue Apr 9, 2024 · 6 comments
Open

Manual page number selection via number input with confirm button. #1124

kolacekp opened this issue Apr 9, 2024 · 6 comments

Comments

@kolacekp
Copy link

kolacekp commented Apr 9, 2024

Hello,
it would be very useful to have the extended pagination feature, where I could enter the page number manually (let's say I want to go to page 20, I will type number 20 into small input and then hit "go" button).

@radimvaculik
Copy link
Member

@kolacekp Could you introduce a pull request with changes, please? 🙏

@radimvaculik
Copy link
Member

@kolacekp Or you can have custom template for paginator (see DatagridPaginator::setTemplateFile() or Datagrid::setCustomPaginatorTemplate()), where you can have your custom form.

@kolacekp
Copy link
Author

kolacekp commented May 4, 2024

@radimvaculik thanks, but I can't find that anywhere in documentation.

@radimvaculik
Copy link
Member

It isn't documented very well. Check the source code.

@radimvaculik
Copy link
Member

@kolacekp 👀 https://github.com/contributte/datagrid/pull/1135/files

@kolacekp
Copy link
Author

kolacekp commented May 6, 2024

@radimvaculik thanks! I will look into that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants