Hi there,
I have an issue to tell you guys for Calendar.
Click on date picker, calendar displays then select or go the previous month then close the calendar, now again click on date
picker calendar showing previous month instead of current month. Calendar should be refreshed every time when we click on
date picker.
How to achieve this ?
Calendar should be refreshed every time when we click on date picker.
It hard to say , which logic will be more usefull, in some scenarious it may have sense to preserve previous date, in some scenarious it may have sense to show current date each time.
If you open calendar manually, you can add next command to force current date selection.
cal1.setDate(new Date()) //force current date selection
cal1.show();