Class Banana.Controls.DatePicker
Extends
Banana.Controls.DataControl.
- Methods borrowed from class Banana.Controls.DataControl:
- dataSetBind, unDataSetBind
- Methods borrowed from class Banana.Controls.Panel:
- getTagName
- Methods borrowed from class Banana.UiControl:
- addControl, addCss, addCssClass, getAttribute, getAttributes, getClientId, getCss, getCssClass, getDimensions, getHtml, getHtmlAttributes, getState, getStyle, getStyleProperty, hasCssClass, registerEvents, removeAttribute, removeCssClass, removeState, setAttribute, setClientId, setCss, setEnabled, setState, setStyle, setVisible, switchCssClass, triggerEvent, unregisterEvents
- Methods borrowed from class Banana.Control:
- applyToChildren, bind, clear, findControl, generateUniqueId, getControls, getDomEventTypes, getFirstUiControl, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setId, setPage, setParent, unbind
Defined in: DatePicker.js.
Method Detail
Sets data on the datapicker control. We can set data in timecode format or string format. i.e setData(1000) //1 sec or setData("24-03-1931")
- Parameters:
- {mixed} data
- {boolean} a
- {boolean} b
Set a minimum selectable date via a Banana Date object @see Banana.Util.DateTimecode
- Parameters:
- {Banana.Util.DateTimecode} date
- Returns:
- {this}