EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: itay-g on April 30, 2014, 08:15:38 AM



Title: datetime box language
Post by: itay-g on April 30, 2014, 08:15:38 AM
hi i am trying to change the calendar language and css from the datetime box is it possible?

example:
weeks: ['א','ב','ג',..]


and do i cath the opening event of the calendar from the datetimebox?

thnx :)


Title: Re: datetime box language
Post by: stworthy on April 30, 2014, 09:16:43 AM
Find a locale file that stored in 'locale' directory and include it to your page. If the locale file does not exists, please build one by yourself.


Title: Re: datetime box language
Post by: itay-g on April 30, 2014, 10:25:20 PM
what about the second question?
how do i cath the opening event of the calendar from the datetimebox?
(i need to chenge the calender z-index)


Title: Re: datetime box language
Post by: stworthy on May 01, 2014, 12:21:33 AM
When drop down the calendar panel, the 'onShowPanel' event fires, which is inherited from combo plugin.
Code:
$('#dd').datebox({
  onShowPanel:function(){
    // your handle code here
  }
});