EasyUI Forum

General Category => General Discussion => Topic started by: mauroxavier on October 05, 2014, 07:53:26 AM



Title: calendar event onPaint or onRepaint
Post by: mauroxavier on October 05, 2014, 07:53:26 AM
In calendar component, I needed some kind event to change the month or year calendar, ie OnPaint or onRepaint, is it possible?


Title: Re: calendar event onPaint or onRepaint
Post by: stworthy on October 05, 2014, 03:54:52 PM
Please try to use the 'onSelect' or 'onChange' events.


Title: Re: calendar event onPaint or onRepaint
Post by: mauroxavier on October 14, 2014, 01:30:25 PM
need an event by clicking to the next months to redesign the calendar.
onSelect is after clicking on it and clicking the onchange new day, I need to fire an event when changing months or even years without clicking on


Title: Re: calendar event onPaint or onRepaint
Post by: stworthy on October 16, 2014, 09:02:07 PM
Please try to use the updated calendar plugin from http://www.jeasyui.com/easyui/plugins/jquery.calendar.js. The 'onNavigate' event is available now.
Code:
$('#cc').calendar({
  onNavigate: function(year,month){
    //...
  }
});


Title: Re: calendar event onPaint or onRepaint
Post by: Aod47 on October 02, 2020, 06:19:15 PM
Thank you very much.  ;D

Could you please add event 'onNavigate' to Documentation?


Title: Re: calendar event onPaint or onRepaint
Post by: stworthy on October 04, 2020, 02:44:32 AM
Please look at this documentation https://www.jeasyui.com/documentation/calendar.php