Page 1 of 1

[REACT] the startDate is not work in config

Posted: Thu Aug 04, 2022 6:38 am
by jeff.wang

Hi,

I set the startDate value in config, bug it is not work for calendar month view like below image, i can't confirm the reason.

Image

Thank you!


Re: [REACT] the startDate is not work in config

Posted: Thu Aug 04, 2022 6:51 am
by tasnim

MonthView doesn't have any startDate config. If you go here https://bryntum.com/docs/calendar/api/Calendar/widget/MonthView and search for startDate you won't find any config


Re: [REACT] the startDate is not work in config

Posted: Thu Aug 04, 2022 7:53 am
by jeff.wang

the monthView demo has it:

Image

the docs of monthView has the content like below:

Image


Re: [REACT] the startDate is not work in config

Posted: Thu Aug 04, 2022 8:06 am
by tasnim

I haven't seen that sorry, When you give the start date it's not going to show from the date you provided, whatever start date you provide it's going to calculate the date from the start date and will show the full month.

Good Luck :)
Tasnim


Re: [REACT] the startDate is not work in config

Posted: Thu Aug 04, 2022 12:55 pm
by jeff.wang

You mean the startDate is not available for the config?


Re: [REACT] the startDate is not work in config

Posted: Thu Aug 04, 2022 2:18 pm
by tasnim

It's available but whatever date you give it's going to show you the month in monthView


Re: [REACT] the startDate is not work in config

Posted: Fri Aug 05, 2022 2:58 am
by jeff.wang

ok, do you plan to modify it or not in the future version?

Thank you!


Re: [REACT] the startDate is not work in config

Posted: Fri Aug 05, 2022 12:37 pm
by Animal

A MonthView will always show one month starting from the first week in that month (May include days from the previous month)

You cannot tell a month view to start at a certain date. It shows the month.

What application requirement do you have?