# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.DatePickerField
Search:
Filters Show Private Show Protected Show Deprecated

## Class inputEx.DatePickerField - extends inputEx.DateField

A DatePicker Field.

### Constructor

inputEx.DatePickerField `( options )`

Parameters:
  `options <Object>` No added option for this field (same as DateField)
  - calendar: yui calendar configuration object

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### beforeShowOverlay

`void beforeShowOverlay ( )`
Select the right date and display the right page on calendar, when the field has a value

#### disable

`void disable ( )`
Disable the field

#### enable

`void enable ( )`
Enable the field

#### renderCalendar

`void renderCalendar ( )`
Called ONCE to render the calendar lazily

#### renderComponent

`void renderComponent ( )`
Render the input field and the minical container

#### setOptions

`void setOptions ( options )`
Set the default date picker CSS classes

Parameters:
  `options <Object>` Options object as passed to the constructor

#### Methods inherited from inputEx.DateField:

`formatDate, getValue, parseWithFormat, setOptions, setValue, validate`

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Methods inherited from inputEx.StringField:

`disable, enable, focus, getStateString, getValue, initEvents, isDisabled, onFocus, renderComponent, setClassFromState, setFieldName, setOptions, setValue, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.