jQWidgets Forums
jQuery UI Widgets › Forums › Scheduler › Unable to switch to Today's date on scheduler using the calendar widget
This topic contains 11 replies, has 5 voices, and was last updated by Martin 6 years, 10 months ago.
-
Author
-
April 25, 2018 at 7:29 pm Unable to switch to Today's date on scheduler using the calendar widget #99902
This is your JQX Scheduler example. Click on little calendar icon to open up the calendar.
Then click on today’s date, which is highlighted. It does not update the selected date. If you click on any date other than current/today’s, it works fine.April 25, 2018 at 11:11 pm Unable to switch to Today's date on scheduler using the calendar widget #99905April 26, 2018 at 7:38 am Unable to switch to Today's date on scheduler using the calendar widget #99914Hello roshini,
Can you please clarify?
What do you want to happen when you click on ‘today’ or the current data.If you click on a date, that isn’t selected the scheduler will go that date, because it is selected.
But if today’s Data is already selected and you click it, it won’t do anything, because it is already selected.Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/May 2, 2018 at 9:53 pm Unable to switch to Today's date on scheduler using the calendar widget #100026No, if you go to that link, today’s date is not selected already. It is on the week “20 November 2016 – 27 November 2016”. I want to switch to Today’s date 02 May 2018 (the date with the square around it). If I click on it, nothing happens. Now, click on 1 day before/after the date date with square on it (01 May 2018 for eg). It will switch and you see week of “29 April 2018 – 06 May 2018”.
Hope it is more clear now.May 3, 2018 at 8:21 am Unable to switch to Today's date on scheduler using the calendar widget #100038Hello roshini,
Here is an example: Link
It shows you that date because you have most likely set the
date
property to something like “2016, 10, 24”.Try setting the date to
date: new $.jqx.date(2018, 04, 03),
as shown in the example.Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/May 4, 2018 at 7:01 pm Unable to switch to Today's date on scheduler using the calendar widget #100082It was not my example, it is yours.. And the date is set correctly as “date : new $.jqx.date(2015, 11, 23)”.
I have updated your example. https://jseditor.io/?key=0bf3cf994fcd11e89e5100224d6bfcd5
Made only 1 change:
1. removed ensureAppointmentVisible from ready function. Because what’s the point of testing this if it’s already on the current week..You can see the issue now. Run it and try to click on the highlighted date i.e. 5/4/2018 as of the time I’m writing this. It does NOT switch to the current week. Click on any other date, it will switch correctly.
Thanks,
RoshiniMay 9, 2018 at 9:38 am Unable to switch to Today's date on scheduler using the calendar widget #100122Hello Roshini,
Thank you for your assistance and for this example.
We will create a work item for this case.
Thank you for this feedback.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comJuly 11, 2018 at 5:26 pm Unable to switch to Today's date on scheduler using the calendar widget #100963Hi,
I had a question if something was changed with the “Today” and “clear” links on the calendar widget. Were they dropped from newer versions? I don’t see on https://jseditor.io/?key=d26d4b6741b011e8b3a100224d6bfcd5. But I have it in the 4.2.1 version we are using.
Thanks,
RoshiniJuly 13, 2018 at 1:13 pm Unable to switch to Today's date on scheduler using the calendar widget #101000Hello Roshini,
This seems to be an issue coming from jseditor only.
They are not dropped in the newer versions.
You can see that the same example is working fine is jqFiddle.Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/July 20, 2018 at 2:45 am Unable to switch to Today's date on scheduler using the calendar widget #101083Ohh great. I can use the fiddle to ask my real question!
When you run first time, if u open the calendar and click on “Today” link, nothing happens. This is similar to my initial issue (above) where I clicked the highlighted date (current date), but here I was using the “Today” link.
After you pick a different date and it switches, thereafter if I use the “Today” link, it works fine. But if you don’t switch to another date first, then “Today” link does not work.July 20, 2018 at 5:15 am Unable to switch to Today's date on scheduler using the calendar widget #101087if you click on clear button it go to today date
July 23, 2018 at 10:37 am Unable to switch to Today's date on scheduler using the calendar widget #101154Hello roshini.dav,
Yes, this is a known issue.
We have a work item created about it. It should be fixed in some of the upcoming versions.
Thank you for your feedback!Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.