Interface IDatePicker

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public autoCapitalize?: boolean

[Config Option] (Boolean)

optional public autoComplete?: boolean

[Config Option] (Boolean)

optional public autoCorrect?: boolean

[Config Option] (Boolean)

optional public autoSelect?: boolean

[Config Option] (Boolean)

optional public baseCls?: string

[Config Option] (String)

optional public border?: any

[Config Option] (Number/String)

optional public bottom?: any

[Config Option] (Number/String)

optional public bubbleEvents?: any

[Config Option] (String/String[])

optional public centered?: boolean

[Config Option] (Boolean)

optional public clearIcon?: boolean

[Config Option] (Boolean)

optional public cls?: any

[Config Option] (String/String[])

optional public component?: any

[Config Option] (Object)

optional public componentCls?: string

[Config Option] (String)

optional public config?: any

[Config Option] (Object)

optional public contentEl?: any

[Config Option] (Ext.Element/HTMLElement/String)

optional public data?: any

[Config Option] (Object)

optional public dateFormat?: string

[Config Option] (String)

optional public defaultPhonePickerConfig?: any

[Config Option] (Object)

optional public defaultTabletPickerConfig?: any

[Config Option] (Object)

optional public destroyPickerOnHide?: boolean

[Config Option] (Boolean)

optional public disabled?: boolean

[Config Option] (Boolean)

optional public disabledCls?: string

[Config Option] (String)

optional public displayField?: any

[Config Option] (String/Number)

optional public dock?: string

[Config Option] (String)

optional public docked?: string

[Config Option] (String)

optional public enterAnimation?: any

[Config Option] (String/Mixed)

optional public exitAnimation?: any

[Config Option] (String/Mixed)

optional public extend?: string

[Config Option] (String)

optional public fieldCls?: string

[Config Option] (String)

optional public fieldLabel?: string

[Config Option] (String)

optional public flex?: number

[Config Option] (Number)

optional public floating?: boolean

[Config Option] (Boolean)

optional public floatingCls?: string

[Config Option] (String)

optional public fullscreen?: boolean

[Config Option] (Boolean)

optional public height?: any

[Config Option] (Number/String)

optional public hidden?: boolean

[Config Option] (Boolean)

optional public hiddenCls?: string

[Config Option] (String)

optional public hiddenName?: string

[Config Option] (String)

optional public hideAnimation?: any

[Config Option] (String/Mixed)

optional public hideOnMaskTap?: boolean

[Config Option] (Boolean)

optional public html?: any

[Config Option] (String/Ext.Element/HTMLElement)

optional public id?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public inputCls?: string

[Config Option] (String)

optional public inputType?: string

[Config Option] (String)

optional public isField?: boolean

[Property] (Boolean)

optional public itemId?: string

[Config Option] (String)

optional public label?: string

[Config Option] (String)

optional public labelAlign?: string

[Config Option] (String)

optional public labelCls?: string

[Config Option] (String)

optional public labelEl?: IElement

[Property] (Ext.Element)

optional public labelWidth?: any

[Config Option] (Number/String)

optional public labelWrap?: boolean

[Config Option] (Boolean)

optional public layoutOnOrientationChange?: boolean

[Config Option] (Boolean)

optional public left?: any

[Config Option] (Number/String)

optional public listeners?: any

[Config Option] (Object)

optional public margin?: any

[Config Option] (Number/String)

optional public maxHeight?: any

[Config Option] (Number/String)

optional public maxLength?: number

[Config Option] (Number)

optional public maxWidth?: any

[Config Option] (Number/String)

optional public minHeight?: any

[Config Option] (Number/String)

optional public minWidth?: any

[Config Option] (Number/String)

optional public mixins?: any

[Config Option] (Object)

optional public modal?: boolean

[Config Option] (Boolean)

optional public monitorOrientation?: boolean

[Config Option] (Boolean)

optional public name?: string

[Config Option] (String)

optional public options?: Array<any>

[Config Option] (Array)

optional public originalValue?: any

[Property] (Mixed)

optional public padding?: any

[Config Option] (Number/String)

optional public picker?: any

[Config Option] (Object/Ext.picker.Date)

optional public placeHolder?: string

[Config Option] (String)

optional public platformConfig?: any

[Config Option] (Object)

optional public plugins?: any

[Config Option] (Object/Array)

optional public readOnly?: boolean

[Config Option] (Boolean)

optional public record?: IModel

[Config Option] (Ext.data.Model)

optional public renderTo?: IElement

[Config Option] (Ext.Element)

optional public required?: boolean

[Config Option] (Boolean)

optional public requiredCls?: string

[Config Option] (String)

optional public right?: any

[Config Option] (Number/String)

optional public scroll?: any

[Config Option] (Boolean/String/Object)

optional public self?: IClass

[Property] (Ext.Class)

optional public showAnimation?: any

[Config Option] (String/Mixed)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public startValue?: any

[Property] (String/Number)

optional public statics?: any

[Config Option] (Object)

optional public stopMaskTapEvent?: boolean

[Config Option] (Boolean)

optional public store?: any

[Config Option] (Ext.data.Store/Object/String)

optional public style?: any

[Config Option] (String/Object)

optional public styleHtmlCls?: string

[Config Option] (String)

optional public styleHtmlContent?: boolean

[Config Option] (Boolean)

optional public tabIndex?: number

[Config Option] (Number)

optional public top?: any

[Config Option] (Number/String)

optional public tpl?: any

[Config Option] (String/String[]/Ext.Template/Ext.XTemplate[])

optional public tplWriteMode?: string

[Config Option] (String)

optional public ui?: string

[Config Option] (String)

optional public useClearIcon?: string

[Config Option] (String)

optional public usePicker?: any

[Config Option] (String/Boolean)

optional public uses?: Array<string>

[Config Option] (String[])

optional public value?: any

[Config Option] (Object/Date)

optional public valueField?: any

[Config Option] (String/Number)

optional public width?: any

[Config Option] (Number/String)

optional public xtype?: string

[Config Option] (String[])

optional public zIndex?: number

[Config Option] (Number)

Methods

optional public addAfterListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Appends an after event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public addBeforeListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Appends a before event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public addCls(cls?: string, prefix?: string, suffix?: string)

[Method] Adds a CSS class or classes to this Component s rendered element

Parameters

  • cls?: string optional

    String The CSS class to add.

  • prefix?: string optional

    String Optional prefix to add to each class.

  • suffix?: string optional

    String Optional suffix to add to each class.

optional public addEvents(eventNames?: any)

[Method] Adds the specified events to the list of events which this Observable may fire

Parameters

  • eventNames?: any optional

    Object/String... Either an object with event names as properties with a value of true or the first event name string if multiple event names are being passed as separate parameters.

optional public addListener(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Appends an event handler to this object

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.

  • fn?: any optional

    Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.

  • scope?: any optional

    Object The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event.

  • options?: any optional

    Object An object containing handler configuration. This object may contain any of the following properties:

  • order?: string optional

    String The order of when the listener should be added into the listener queue. Possible values are before, current and after.

optional public addManagedListener(object?: any, eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Adds listeners to any Observable object or Element which are automatically removed when this Component is destroyed

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

  • options?: any optional

    Object If the eventName parameter was an event name, this is the addListener options.

optional public blur(): IText

[Method] Attempts to forcefully blur input focus for the field

Returns

IText

Ext.field.Text This field

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public clearListeners()

[Method] Removes all listeners for this object

optional public destroy()

[Method] Destroys this Component

optional public disable()

[Method] Disables this Component

optional public enable()

[Method] Enables this Component

optional public enableBubble(events?: any)

[Method] Enables events fired by this Observable to bubble up an owner hierarchy by calling this getBubbleTarget if present

Parameters

  • events?: any optional

    String/String[] The event name to bubble, or an Array of event names.

optional public fireAction(eventName?: string, args?: Array<any>, fn?: any, scope?: any): any

[Method] Fires the specified event with the passed parameters and execute a function action at the end if there are no liste

Parameters

  • eventName?: string optional

    String The name of the event to fire.

  • args?: Array<any> optional

    Array Arguments to pass to handers.

  • fn?: any optional

    Function Action.

  • scope?: any optional

    Object Scope of fn.

Returns

any

Object

optional public fireEvent(eventName: string, args?: Array<any>): boolean

[Method] Fires the specified event with the passed parameters minus the event name plus the options object passed to addList

Parameters

  • eventName: string

    String The name of the event to fire.

  • args?: Array<any> optional

    Object... Variable number of parameters are passed to handlers.

Returns

boolean

Boolean Returns false if any of the handlers return false.

optional public focus(): IText

[Method] Attempts to set the field as the active input focus

Returns

IText

Ext.field.Text This field

optional public getAlignmentInfo(component?: any, alignment?: any)

[Method] Prepares information on aligning this to component using alignment

Parameters

  • component?: any optional

    Object

  • alignment?: any optional

    Object

optional public getAutoCapitalize(): boolean

[Method] Returns the value of autoCapitalize

Returns

boolean

Boolean

optional public getAutoComplete(): boolean

[Method] Returns the value of autoComplete

Returns

boolean

Boolean

optional public getAutoCorrect(): boolean

[Method] Returns the value of autoCorrect

Returns

boolean

Boolean

optional public getAutoSelect(): boolean

[Method] Returns the value of autoSelect

Returns

boolean

Boolean

optional public getBaseCls(): string

[Method] Returns the value of baseCls

Returns

string

String

optional public getBorder(): any

[Method] Returns the value of border

Returns

any

Number/String

optional public getBottom(): any

[Method] Returns the value of bottom

Returns

any

any

optional public getBubbleEvents(): any

[Method] Returns the value of bubbleEvents

Returns

any

String/String[]

optional public getCentered(): boolean

[Method] Returns the value of centered

Returns

boolean

Boolean

optional public getClearIcon(): boolean

[Method] Returns the value of clearIcon

Returns

boolean

Boolean

optional public getCls(): any

[Method] Returns the value of cls

Returns

any

any

optional public getComponent(): any

[Method] Returns the value of component

Returns

any

Object

optional public getContentEl(): any

[Method] Returns the value of contentEl

Returns

any

Ext.Element/HTMLElement/String

optional public getData(): any

[Method] Returns the value of data

Returns

any

Object

optional public getDateFormat(): string

[Method] Returns the value of dateFormat

Returns

string

String

optional public getDatePicker()

[Method]

optional public getDefaultPhonePickerConfig(): any

[Method] Returns the value of defaultPhonePickerConfig

Returns

any

Object

optional public getDefaultTabletPickerConfig(): any

[Method] Returns the value of defaultTabletPickerConfig

Returns

any

Object

optional public getDestroyPickerOnHide(): boolean

[Method] Returns the value of destroyPickerOnHide

Returns

boolean

Boolean

optional public getDisabled(): boolean

[Method] Returns the value of disabled

Returns

boolean

Boolean

optional public getDisabledCls(): string

[Method] Returns the value of disabledCls

Returns

string

String

optional public getDisplayField(): any

[Method] Returns the value of displayField

Returns

any

String/Number

optional public getDocked(): string

[Method] Returns the value of docked

Returns

string

String

optional public getEl(): IElement

[Method] Retrieves the top level element representing this component

Returns

IElement

Ext.dom.Element

optional public getEnterAnimation(): any

[Method] Returns the value of enterAnimation

Returns

any

String/Mixed

optional public getExitAnimation(): any

[Method] Returns the value of exitAnimation

Returns

any

String/Mixed

optional public getFlex(): number

[Method] Returns the value of flex

Returns

number

Number

optional public getFloatingCls(): string

[Method] Returns the value of floatingCls

Returns

string

String

optional public getFormattedValue(format?: string): string

[Method] Returns the value of the field formatted using the specified format

Parameters

  • format?: string optional

    String The format to be returned.

Returns

string

String The formatted date.

optional public getHeight(): any

[Method] Returns the value of height

Returns

any

Number/String

optional public getHidden(): boolean

[Method] Returns the value of hidden

Returns

boolean

Boolean

optional public getHiddenCls(): string

[Method] Returns the value of hiddenCls

Returns

string

String

optional public getHiddenName(): string

[Method] Returns the value of hiddenName

Returns

string

String

optional public getHideAnimation(): any

[Method] Returns the value of hideAnimation

Returns

any

String/Mixed

optional public getHtml(): any

[Method] Returns the value of html

Returns

any

String/Ext.Element/HTMLElement

optional public getId(): any

[Method] Retrieves the id of this component

Returns

any

any id

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInputCls(): string

[Method] Returns the value of inputCls

Returns

string

String

optional public getInputType(): string

[Method] Returns the value of inputType

Returns

string

String

optional public getItemId(): string

[Method] Returns the value of itemId

Returns

string

String

optional public getLabel(): string

[Method] Returns the value of label

Returns

string

String

optional public getLabelAlign(): string

[Method] Returns the value of labelAlign

Returns

string

String

optional public getLabelCls(): string

[Method] Returns the value of labelCls

Returns

string

String

optional public getLabelWidth(): any

[Method] Returns the value of labelWidth

Returns

any

Number/String

optional public getLabelWrap(): boolean

[Method] Returns the value of labelWrap

Returns

boolean

Boolean

optional public getLeft(): any

[Method] Returns the value of left

Returns

any

Number/String

optional public getListeners(): any

[Method] Returns the value of listeners

Returns

any

Object

optional public getMargin(): any

[Method] Returns the value of margin

Returns

any

Number/String

optional public getMaxHeight(): any

[Method] Returns the value of maxHeight

Returns

any

Number/String

optional public getMaxLength(): number

[Method] Returns the value of maxLength

Returns

number

Number

optional public getMaxWidth(): any

[Method] Returns the value of maxWidth

Returns

any

Number/String

optional public getMinHeight(): any

[Method] Returns the value of minHeight

Returns

any

Number/String

optional public getMinWidth(): any

[Method] Returns the value of minWidth

Returns

any

Number/String

optional public getName(): string

[Method] Returns the value of name

Returns

string

String

optional public getOptions(): Array<any>

[Method] Returns the value of options

Returns

Array<any>

Array

optional public getPadding(): any

[Method] Returns the value of padding

Returns

any

Number/String

optional public getParent(): IComponent

[Method] Returns the parent of this component if it has one

Returns

IComponent

Ext.Component The parent of this component.

optional public getPlaceHolder(): string

[Method] Returns the value of placeHolder

Returns

string

String

optional public getPlugins(): any

[Method] Returns the value of plugins

Returns

any

Object/Array

optional public getReadOnly(): boolean

[Method] Returns the value of readOnly

Returns

boolean

Boolean

optional public getRecord(): IModel

[Method] Returns the current selected record instance selected in this field

Returns

IModel

Ext.data.Model the record.

optional public getRenderTo(): IElement

[Method] Returns the value of renderTo

Returns

IElement

Ext.Element

optional public getRequired(): boolean

[Method] Returns the value of required

Returns

boolean

Boolean

optional public getRequiredCls(): string

[Method] Returns the value of requiredCls

Returns

string

String

optional public getRight(): any

[Method] Returns the value of right

Returns

any

Number/String

optional public getShowAnimation(): any

[Method] Returns the value of showAnimation

Returns

any

String/Mixed

optional public getSize(): any

[Method] Returns the height and width of the Component

Returns

any

Object The current height and width of the Component.

optional public getStore(): any

[Method] Returns the value of store

Returns

any

Ext.data.Store/Object/String

optional public getStyle(): any

[Method] Returns the value of style

Returns

any

String/Object

optional public getStyleHtmlCls(): string

[Method] Returns the value of styleHtmlCls

Returns

string

String

optional public getStyleHtmlContent(): boolean

[Method] Returns the value of styleHtmlContent

Returns

boolean

Boolean

optional public getTabIndex(): number

[Method] Returns the value of tabIndex

Returns

number

Number

optional public getTop(): any

[Method] Returns the value of top

Returns

any

Number/String

optional public getTpl(): any

[Method] Returns the value of tpl

Returns

any

String/String[]/Ext.Template/Ext.XTemplate[]

optional public getTplWriteMode(): string

[Method] Returns the value of tplWriteMode

Returns

string

String

optional public getUi(): string

[Method] Returns the value of ui

Returns

string

String

optional public getUsePicker(): any

[Method] Returns the value of usePicker

Returns

any

String/Boolean

optional public getValue(): any

[Method] Returns the Date value of this field

Returns

any

Date The date selected

optional public getValueField(): any

[Method] Returns the value of valueField

Returns

any

String/Number

optional public getWidth(): any

[Method] Returns the value of width

Returns

any

Number/String

optional public getXTypes(): string

[Method] Returns this Component s xtype hierarchy as a slash delimited string

Returns

string

String The xtype hierarchy string.

optional public getZIndex(): number

[Method] Returns the value of zIndex

Returns

number

Number

optional public hasListener(eventName?: string): boolean

[Method] Checks to see if this object has any listeners for a specified event

Parameters

  • eventName?: string optional

    String The name of the event to check for

Returns

boolean

Boolean True if the event is being listened for, else false

optional public hasParent(): boolean

[Method] Returns true if this component has a parent

Returns

boolean

Boolean true if this component has a parent.

optional public hide(animation?: any): IComponent

[Method] Hides this Component optionally using an animation

Parameters

  • animation?: any optional

    Object/Boolean You can specify an animation here or a bool to use the hideAnimation config.

Returns

IComponent

Ext.Component

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public initialize()

[Method] Allows addition of behavior to the rendering phase

optional public isDirty(): boolean

[Method] Returns true if the value of this Field has been changed from its originalValue

Returns

boolean

Boolean true if this field has been changed from its original value (and is not disabled), false otherwise.

optional public isDisabled(): boolean

[Method] Returns true if this Component is currently disabled

Returns

boolean

Boolean true if currently disabled.

optional public isHidden(): boolean

[Method] Returns true if this Component is currently hidden

Returns

boolean

Boolean true if currently hidden.

optional public isXType(xtype?: string, shallow?: boolean): boolean

[Method] Tests whether or not this Component is of a specific xtype

Parameters

  • xtype?: string optional

    String The xtype to check for this Component.

  • shallow?: boolean optional

    Boolean false to check whether this Component is descended from the xtype (this is the default), or true to check whether this Component is directly of the specified xtype.

Returns

boolean

Boolean true if this component descends from the specified xtype, false otherwise.

optional public mon(object?: any, eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for addManagedListener

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

  • options?: any optional

    Object If the eventName parameter was an event name, this is the addListener options.

optional public mun(object?: any, eventName?: any, fn?: any, scope?: any)

[Method] Alias for removeManagedListener

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

optional public on(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Alias for addListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.

  • fn?: any optional

    Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.

  • scope?: any optional

    Object The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event.

  • options?: any optional

    Object An object containing handler configuration. This object may contain any of the following properties:

  • order?: string optional

    String The order of when the listener should be added into the listener queue. Possible values are before, current and after.

optional public onAfter(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for addAfterListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public onBefore(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for addBeforeListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public onChange()

[Method] Override this or change event will be fired twice

optional public onStoreDataChanged(store?: any)

[Method] Called when the internal store s data has changed

Parameters

  • store?: any optional

    Object

optional public relayEvents(object?: any, events?: any): IObservable

[Method] Relays selected events from the specified Observable as if the events were fired by this

Parameters

  • object?: any optional

    Object The Observable whose events this object is to relay.

  • events?: any optional

    String/Array/Object Array of event names to relay.

Returns

IObservable

Ext.mixin.Observable this

optional public removeAfterListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Removes a before event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public removeBeforeListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Removes a before event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public removeCls(cls?: string, prefix?: string, suffix?: string)

[Method] Removes the given CSS class es from this Component s rendered element

Parameters

  • cls?: string optional

    String The class(es) to remove.

  • prefix?: string optional

    String Optional prefix to prepend before each class.

  • suffix?: string optional

    String Optional suffix to append to each class.

optional public removeListener(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Removes an event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The type of event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove. This must be a reference to the function passed into the addListener call.

  • scope?: any optional

    Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to addListener or the listener will not be removed.

  • options?: any optional

    Object Extra options object. See addListener for details.

  • order?: string optional

    String The order of the listener to remove. Possible values are before, current and after.

optional public removeManagedListener(object?: any, eventName?: any, fn?: any, scope?: any)

[Method] Adds listeners to any Observable object or Element which are automatically removed when this Component is destroyed

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

optional public replaceCls(oldCls?: string, newCls?: string, prefix?: string, suffix?: string)

[Method] Replaces specified classes with the newly specified classes

Parameters

  • oldCls?: string optional

    String The class(es) to remove.

  • newCls?: string optional

    String The class(es) to add.

  • prefix?: string optional

    String Optional prefix to prepend before each class.

  • suffix?: string optional

    String Optional suffix to append to each class.

optional public reset(): ISelect

[Method] Resets the Select field to the value of the first record in the store

Returns

ISelect

Ext.field.Select this

optional public resetFloating()

[Method] Resets top right bottom and left configurations to null which will un float this component

optional public resetOriginalValue()

[Method] Resets the field s originalValue property so it matches the current value

optional public resumeEvents(discardQueuedEvents?: boolean)

[Method] Resumes firing events see suspendEvents

Parameters

  • discardQueuedEvents?: boolean optional

    Boolean Pass as true to discard any queued events.

optional public select(): IText

[Method] Attempts to forcefully select all the contents of the input field

Returns

IText

Ext.field.Text this

optional public setAutoCapitalize(autoCapitalize?: boolean)

[Method] Sets the value of autoCapitalize

Parameters

  • autoCapitalize?: boolean optional

    Boolean The new value.

optional public setAutoComplete(autoComplete?: boolean)

[Method] Sets the value of autoComplete

Parameters

  • autoComplete?: boolean optional

    Boolean The new value.

optional public setAutoCorrect(autoCorrect?: boolean)

[Method] Sets the value of autoCorrect

Parameters

  • autoCorrect?: boolean optional

    Boolean The new value.

optional public setAutoSelect(autoSelect?: boolean)

[Method] Sets the value of autoSelect

Parameters

  • autoSelect?: boolean optional

    Boolean The new value.

optional public setBaseCls(baseCls?: string)

[Method] Sets the value of baseCls

Parameters

  • baseCls?: string optional

    String The new value.

optional public setBorder(border?: any)

[Method] Sets the value of border

Parameters

  • border?: any optional

    Number/String The new value.

optional public setBottom(bottom?: any)

[Method] Sets the value of bottom

Parameters

  • bottom?: any optional

    Number/String The new value.

optional public setBubbleEvents(bubbleEvents?: Array<any>)

[Method] Sets the value of bubbleEvents

Parameters

  • bubbleEvents?: Array<any> optional

    Array The new value.

optional public setCentered(centered?: boolean)

[Method] Sets the value of centered

Parameters

  • centered?: boolean optional

    Boolean The new value.

optional public setClearIcon(clearIcon?: boolean)

[Method] Sets the value of clearIcon

Parameters

  • clearIcon?: boolean optional

    Boolean The new value.

optional public setCls(cls?: any)

[Method] Sets the value of cls

Parameters

  • cls?: any optional

    String/String[] The new value.

optional public setComponent(component?: any)

[Method] Sets the value of component

Parameters

  • component?: any optional

    Object The new value.

optional public setContentEl(contentEl?: any)

[Method] Sets the value of contentEl

Parameters

  • contentEl?: any optional

    Ext.Element/HTMLElement/String The new value.

optional public setData(data?: any)

[Method] Sets the value of data

Parameters

  • data?: any optional

    Object The new value.

optional public setDateFormat(dateFormat?: string)

[Method] Sets the value of dateFormat

Parameters

  • dateFormat?: string optional

    String The new value.

optional public setDefaultPhonePickerConfig(defaultPhonePickerConfig?: any)

[Method] Sets the value of defaultPhonePickerConfig

Parameters

  • defaultPhonePickerConfig?: any optional

    Object The new value.

optional public setDefaultTabletPickerConfig(defaultTabletPickerConfig?: any)

[Method] Sets the value of defaultTabletPickerConfig

Parameters

  • defaultTabletPickerConfig?: any optional

    Object The new value.

optional public setDestroyPickerOnHide(destroyPickerOnHide?: boolean)

[Method] Sets the value of destroyPickerOnHide

Parameters

  • destroyPickerOnHide?: boolean optional

    Boolean The new value.

optional public setDisabled(disabled?: boolean)

[Method] Sets the value of disabled

Parameters

  • disabled?: boolean optional

    Boolean The new value.

optional public setDisabledCls(disabledCls?: string)

[Method] Sets the value of disabledCls

Parameters

  • disabledCls?: string optional

    String The new value.

optional public setDisplayField(displayField?: any)

[Method] Sets the value of displayField

Parameters

  • displayField?: any optional

    String/Number The new value.

optional public setDocked(docked?: string)

[Method] Sets the value of docked

Parameters

  • docked?: string optional

    String The new value.

optional public setDraggable(draggable?: any)

[Method] Sets the value of draggable

Parameters

  • draggable?: any optional

    Object The new value.

optional public setEnterAnimation(enterAnimation?: any)

[Method] Sets the value of enterAnimation

Parameters

  • enterAnimation?: any optional

    String/Mixed The new value.

optional public setExitAnimation(exitAnimation?: any)

[Method] Sets the value of exitAnimation

Parameters

  • exitAnimation?: any optional

    String/Mixed The new value.

optional public setFlex(flex?: number)

[Method] Sets the value of flex

Parameters

  • flex?: number optional

    Number The new value.

optional public setFloating(floating?: boolean)

[Method] Used to update the floating state of this component

Parameters

  • floating?: boolean optional

    Boolean true if you want to float this component.

optional public setFloatingCls(floatingCls?: string)

[Method] Sets the value of floatingCls

Parameters

  • floatingCls?: string optional

    String The new value.

optional public setHeight(height?: any)

[Method] Sets the value of height

Parameters

  • height?: any optional

    Number/String The new value.

optional public setHidden(hidden?: boolean)

[Method] Sets the value of hidden

Parameters

  • hidden?: boolean optional

    Boolean The new value.

optional public setHiddenCls(hiddenCls?: string)

[Method] Sets the value of hiddenCls

Parameters

  • hiddenCls?: string optional

    String The new value.

optional public setHiddenName(hiddenName?: string)

[Method] Sets the value of hiddenName

Parameters

  • hiddenName?: string optional

    String The new value.

optional public setHideAnimation(hideAnimation?: any)

[Method] Sets the value of hideAnimation

Parameters

  • hideAnimation?: any optional

    String/Mixed The new value.

optional public setHtml(html?: any)

[Method] Sets the value of html

Parameters

  • html?: any optional

    String/Ext.Element/HTMLElement The new value.

optional public setInputCls(inputCls?: string)

[Method] Sets the value of inputCls

Parameters

  • inputCls?: string optional

    String The new value.

optional public setInputType(inputType?: string)

[Method] Sets the value of inputType

Parameters

  • inputType?: string optional

    String The new value.

optional public setItemId(itemId?: string)

[Method] Sets the value of itemId

Parameters

  • itemId?: string optional

    String The new value.

optional public setLabel(label?: string)

[Method] Sets the value of label

Parameters

  • label?: string optional

    String The new value.

optional public setLabelAlign(labelAlign?: string)

[Method] Sets the value of labelAlign

Parameters

  • labelAlign?: string optional

    String The new value.

optional public setLabelCls(labelCls?: string)

[Method] Sets the value of labelCls

Parameters

  • labelCls?: string optional

    String The new value.

optional public setLabelWidth(labelWidth?: any)

[Method] Sets the value of labelWidth

Parameters

  • labelWidth?: any optional

    Number/String The new value.

optional public setLabelWrap(labelWrap?: boolean)

[Method] Sets the value of labelWrap

Parameters

  • labelWrap?: boolean optional

    Boolean The new value.

optional public setLeft(left?: any)

[Method] Sets the value of left

Parameters

  • left?: any optional

    Number/String The new value.

optional public setListeners(listeners?: any)

[Method] Sets the value of listeners

Parameters

  • listeners?: any optional

    Object The new value.

optional public setMargin(margin?: any)

[Method] Sets the value of margin

Parameters

  • margin?: any optional

    Number/String The new value.

optional public setMaxHeight(maxHeight?: any)

[Method] Sets the value of maxHeight

Parameters

  • maxHeight?: any optional

    Number/String The new value.

optional public setMaxLength(maxLength?: number)

[Method] Sets the value of maxLength

Parameters

  • maxLength?: number optional

    Number The new value.

optional public setMaxWidth(maxWidth?: any)

[Method] Sets the value of maxWidth

Parameters

  • maxWidth?: any optional

    Number/String The new value.

optional public setMinHeight(minHeight?: any)

[Method] Sets the value of minHeight

Parameters

  • minHeight?: any optional

    Number/String The new value.

optional public setMinWidth(minWidth?: any)

[Method] Sets the value of minWidth

Parameters

  • minWidth?: any optional

    Number/String The new value.

optional public setName(name?: string)

[Method] Sets the value of name

Parameters

  • name?: string optional

    String The new value.

optional public setOptions(options?: Array<any>)

[Method] Sets the value of options

Parameters

  • options?: Array<any> optional

    Array The new value.

optional public setPadding(padding?: any)

[Method] Sets the value of padding

Parameters

  • padding?: any optional

    Number/String The new value.

optional public setPicker(picker?: any)

[Method] Sets the value of picker

Parameters

  • picker?: any optional

    Object/Ext.picker.Date The new value.

optional public setPlaceHolder(placeHolder?: string)

[Method] Sets the value of placeHolder

Parameters

  • placeHolder?: string optional

    String The new value.

optional public setPlugins(plugins?: any)

[Method] Sets the value of plugins

Parameters

  • plugins?: any optional

    Object/Array The new value.

optional public setReadOnly(readOnly?: boolean)

[Method] Sets the value of readOnly

Parameters

  • readOnly?: boolean optional

    Boolean The new value.

optional public setRecord(record?: IModel)

[Method] Sets the value of record

Parameters

  • record?: IModel optional

    Ext.data.Model The new value.

optional public setRenderTo(renderTo?: IElement)

[Method] Sets the value of renderTo

Parameters

  • renderTo?: IElement optional

    Ext.Element The new value.

optional public setRequired(required?: boolean)

[Method] Sets the value of required

Parameters

  • required?: boolean optional

    Boolean The new value.

optional public setRequiredCls(requiredCls?: string)

[Method] Sets the value of requiredCls

Parameters

  • requiredCls?: string optional

    String The new value.

optional public setRight(right?: any)

[Method] Sets the value of right

Parameters

  • right?: any optional

    Number/String The new value.

optional public setScrollable()

[Method] This method has moved to Ext Container

optional public setShowAnimation(showAnimation?: any)

[Method] Sets the value of showAnimation

Parameters

  • showAnimation?: any optional

    String/Mixed The new value.

optional public setSize(width?: number, height?: number)

[Method] Sets the size of the Component

Parameters

  • width?: number optional

    Number The new width for the Component.

  • height?: number optional

    Number The new height for the Component.

optional public setStore(store?: any)

[Method] Sets the value of store

Parameters

  • store?: any optional

    Ext.data.Store/Object/String The new value.

optional public setStyle(style?: any)

[Method] Sets the value of style

Parameters

  • style?: any optional

    String/Object The new value.

optional public setStyleHtmlCls(styleHtmlCls?: string)

[Method] Sets the value of styleHtmlCls

Parameters

  • styleHtmlCls?: string optional

    String The new value.

optional public setStyleHtmlContent(styleHtmlContent?: boolean)

[Method] Sets the value of styleHtmlContent

Parameters

  • styleHtmlContent?: boolean optional

    Boolean The new value.

optional public setTabIndex(tabIndex?: number)

[Method] Sets the value of tabIndex

Parameters

  • tabIndex?: number optional

    Number The new value.

optional public setTop(top?: any)

[Method] Sets the value of top

Parameters

  • top?: any optional

    Number/String The new value.

optional public setTpl(tpl?: any)

[Method] Sets the value of tpl

Parameters

  • tpl?: any optional

    String/String[]/Ext.Template/Ext.XTemplate[] The new value.

optional public setTplWriteMode(tplWriteMode?: string)

[Method] Sets the value of tplWriteMode

Parameters

  • tplWriteMode?: string optional

    String The new value.

optional public setUi(ui?: string)

[Method] Sets the value of ui

Parameters

  • ui?: string optional

    String The new value.

optional public setUsePicker(usePicker?: any)

[Method] Sets the value of usePicker

Parameters

  • usePicker?: any optional

    String/Boolean The new value.

optional public setValue(value?: any)

[Method] Sets the value of value

Parameters

  • value?: any optional

    Object/Date The new value.

optional public setValueField(valueField?: any)

[Method] Sets the value of valueField

Parameters

  • valueField?: any optional

    String/Number The new value.

optional public setWidth(width?: any)

[Method] Sets the value of width

Parameters

  • width?: any optional

    Number/String The new value.

optional public setZIndex(zIndex?: number)

[Method] Sets the value of zIndex

Parameters

  • zIndex?: number optional

    Number The new value.

optional public show(animation?: any): IComponent

[Method] Shows this component optionally using an animation

Parameters

  • animation?: any optional

    Object/Boolean You can specify an animation here or a bool to use the showAnimation config.

Returns

IComponent

Ext.Component

optional public showBy(component?: IComponent, alignment?: string)

[Method] Shows this component by another component

Parameters

  • component?: IComponent optional

    Ext.Component The target component to show this component by.

  • alignment?: string optional

    String The specific alignment.

optional public showPicker()

[Method] Shows the picker for the select field whether that is a Ext picker Picker or a simple list

optional public suspendEvents()

[Method] Suspends the firing of all events

optional public un(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Alias for removeListener

Parameters

  • eventName?: any optional

    String/String[]/Object The type of event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove. This must be a reference to the function passed into the addListener call.

  • scope?: any optional

    Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to addListener or the listener will not be removed.

  • options?: any optional

    Object Extra options object. See addListener for details.

  • order?: string optional

    String The order of the listener to remove. Possible values are before, current and after.

optional public unAfter(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for removeAfterListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public unBefore(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for removeBeforeListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public up(selector?: string): IContainer

[Method] Walks up the ownerCt axis looking for an ancestor Container which matches the passed simple selector

Parameters

  • selector?: string optional

    String The simple selector to test.

Returns

IContainer

Ext.Container The matching ancestor Container (or undefined if no match was found).

optional public update()

[Method] Updates the HTML content of the Component

optional public updateOptions(newOptions?: Array<any>): ISelect

[Method] Updates the underlying lt options gt list with new values

Parameters

  • newOptions?: Array<any> optional

    Array An array of options configurations to insert or append. selectBox.setOptions([ {text: 'First Option', value: 'first'}, {text: 'Second Option', value: 'second'}, {text: 'Third Option', value: 'third'} ]).setValue('third'); Note: option object member names should correspond with defined valueField and displayField values.

Returns

ISelect

Ext.field.Select this

optional public updateStyleHtmlCls(newHtmlCls?: any, oldHtmlCls?: any)

[Method] Updates the styleHtmlCls configuration

Parameters

  • newHtmlCls?: any optional

    Object

  • oldHtmlCls?: any optional

    Object