Method | Description | |
---|---|---|
SetBeforeShowDayEvent ( string beforeShowDayEvent ) : |
The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or '' for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the datepicker before it is displayed.
|
|
SetBeforeShowEvent ( string beforeShowEvent ) : |
Can be a function that takes an input field and current datepicker instance and returns an events object to update the datepicker with. It is called just before the datepicker is displayed.
|
|
SetCreateEvent ( string createEvent ) : |
This event is triggered when datepicker is created.
|
|
SetOnChangeMonthYearEvent ( string onChangeMonthYearEvent ) : |
Allows you to define your own event when the datepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the datepicker instance as parameters. this refers to the associated input field.
|
|
SetOnCloseEvent ( string onCloseEvent ) : |
Allows you to define your own event when the datepicker is closed, whether or not a date is selected. The function receives the selected date as text ('' if none) and the datepicker instance as parameters. this refers to the associated input field.
|
|
SetOnSelectEvent ( string onSelectEvent ) : |
Allows you to define your own event when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this refers to the associated input field.
|
public SetBeforeShowDayEvent ( string beforeShowDayEvent ) : |
||
beforeShowDayEvent | string | |
return |
public SetBeforeShowEvent ( string beforeShowEvent ) : |
||
beforeShowEvent | string | |
return |
public SetCreateEvent ( string createEvent ) : |
||
createEvent | string | |
return |
public SetOnChangeMonthYearEvent ( string onChangeMonthYearEvent ) : |
||
onChangeMonthYearEvent | string | |
return |
public SetOnCloseEvent ( string onCloseEvent ) : |
||
onCloseEvent | string | |
return |
public SetOnSelectEvent ( string onSelectEvent ) : |
||
onSelectEvent | string | |
return |