EasyUI Forum
March 28, 2024, 06:30:28 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: calendar event onPaint or onRepaint  (Read 16439 times)
mauroxavier
Newbie
*
Posts: 3


View Profile
« 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?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 05, 2014, 03:54:52 PM »

Please try to use the 'onSelect' or 'onChange' events.
Logged
mauroxavier
Newbie
*
Posts: 3


View Profile
« Reply #2 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 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){
    //...
  }
});
Logged
Aod47
Jr. Member
**
Posts: 81


View Profile
« Reply #4 on: October 02, 2020, 06:19:15 PM »

Thank you very much.  Grin

Could you please add event 'onNavigate' to Documentation?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #5 on: October 04, 2020, 02:44:32 AM »

Please look at this documentation https://www.jeasyui.com/documentation/calendar.php
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!