C# Класс Fluqi.Widget.jDatePicker.Events

A set of events to apply to a set of jQuery UI DatePicker.
Наследование: Core.Options
Показать файл Открыть проект

Открытые методы

Метод Описание
SetBeforeShowDayEvent ( string beforeShowDayEvent ) : Events

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 ) : Events

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 ) : Events

This event is triggered when datepicker is created.

SetOnChangeMonthYearEvent ( string onChangeMonthYearEvent ) : Events

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 ) : Events

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 ) : Events

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.

Описание методов

SetBeforeShowDayEvent() публичный Метод

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.
public SetBeforeShowDayEvent ( string beforeShowDayEvent ) : Events
beforeShowDayEvent string
Результат Events

SetBeforeShowEvent() публичный Метод

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.
public SetBeforeShowEvent ( string beforeShowEvent ) : Events
beforeShowEvent string
Результат Events

SetCreateEvent() публичный Метод

This event is triggered when datepicker is created.
public SetCreateEvent ( string createEvent ) : Events
createEvent string
Результат Events

SetOnChangeMonthYearEvent() публичный Метод

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.
public SetOnChangeMonthYearEvent ( string onChangeMonthYearEvent ) : Events
onChangeMonthYearEvent string
Результат Events

SetOnCloseEvent() публичный Метод

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.
public SetOnCloseEvent ( string onCloseEvent ) : Events
onCloseEvent string
Результат Events

SetOnSelectEvent() публичный Метод

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 SetOnSelectEvent ( string onSelectEvent ) : Events
onSelectEvent string
Результат Events