Skip to content

Provide visible years range in renderCustomHeader method #5644

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

Open
Luftare opened this issue May 23, 2025 · 0 comments
Open

Provide visible years range in renderCustomHeader method #5644

Luftare opened this issue May 23, 2025 · 0 comments

Comments

@Luftare
Copy link

Luftare commented May 23, 2025

Is your feature request related to a problem? Please describe.
I'd like to develop a custom header using showYearPicker with information about the visible year range. The visible years range is not currently provided in the renderCustomHeader props.

Check out a sandbox:
https://stackblitz.com/edit/vitejs-vite-cyahbe6y?file=src%2FApp.tsx&terminal=dev

Describe the solution you'd like
Include props.yearRange: Int[] or props.visibleYearsRangeStart: Int and props.visibleYearsRangeEnd: Int.

Describe alternatives you've considered
Styling the default header doesn't seem to provide necessary flexibility.

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

1 participant