EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: gordis gmbh on July 18, 2018, 04:43:09 AM



Title: How to set a calendar current parameter with specific value?
Post by: gordis gmbh on July 18, 2018, 04:43:09 AM
Hello,

When I set the current parameter of calendar with a specific value, today still selected as current date. How can this parameter set with a specific date?
For more details refer please to the following jsfiddle example. http://jsfiddle.net/na7z3t41/

Thanks!



Title: Re: How to set a calendar current parameter with specific value?
Post by: jarry on July 18, 2018, 05:29:46 PM
When the drop-down calendar panel displays, the current calendar will be set according to the current inputing value. The empty value will make the calendar move to the current date. If you want to change the current date on the calendar panel, please put your code in the 'onShowPanel' event handler.

http://jsfiddle.net/na7z3t41/4/