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

syncfusion datepicker supports holiday indicates of China? #2210

Open
lucasjinreal opened this issue Dec 16, 2024 · 2 comments
Open

syncfusion datepicker supports holiday indicates of China? #2210

lucasjinreal opened this issue Dec 16, 2024 · 2 comments
Labels
date range picker Date range picker component waiting for customer response Cannot make further progress until the customer responds.

Comments

@lucasjinreal
Copy link

syncfusion datepicker supports holiday indicates of China?

@VijayakumarMariappan VijayakumarMariappan added date range picker Date range picker component open Open labels Dec 17, 2024
@Mugunthan-Ramalingam
Copy link
Contributor

Hi @lucasjinreal,

We have analyzed your query and created a workaround sample that demonstrates how to highlight Chinese holidays in the SfDatePicker. In this implementation, a map stores holiday dates along with their names, which are passed to the specialDates property of the date picker to visualize these dates. Custom decorations and text styles are applied to holiday dates using specialDatesDecoration and specialDatesTextStyle, making them stand out in the calendar. The onSelectionChanged callback is utilized to check if the selected date matches a holiday, and if it does, a SnackBar is displayed with the holiday name. We have shared the sample below, so you can customize the sample based on your requirements.

However, we don't know the exact purpose of your requirement. We kindly request you to share more detailed information, along with screenshots or screen recordings, so that we can assist you better.

For more details, please refer to the following UG: https://support.syncfusion.com/kb/article/10750

Demo:
datepicker_demo

sample:

gh_2210.zip

Regards,
Mugunthan.

@LavanyaGowtham2021 LavanyaGowtham2021 added waiting for customer response Cannot make further progress until the customer responds. and removed open Open labels Dec 23, 2024
@lucasjinreal
Copy link
Author

wooo, awesome!

Could it that possible directly showing on cell of grid? Just like how iOS calendar does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
date range picker Date range picker component waiting for customer response Cannot make further progress until the customer responds.
Projects
None yet
Development

No branches or pull requests

4 participants