X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.form.TriggerField.html diff --git a/docs/output/Ext.form.TriggerField.html b/docs/output/Ext.form.TriggerField.html index 8ad5ec7f..d84c6219 100644 --- a/docs/output/Ext.form.TriggerField.html +++ b/docs/output/Ext.form.TriggerField.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Field
        TextField
          TriggerField

Class Ext.form.TriggerField

Package:Ext.form
Defined In:TriggerField.js
Class:TriggerField
Subclasses:ComboBox, DateField, TwinTriggerField
Extends:TextField
xtype:trigger
Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default). +
Observable
  Component
    BoxComponent
      Field
        TextField
          TriggerField

Class Ext.form.TriggerField

Package:Ext.form
Defined In:TriggerField.js
Class:TriggerField
Subclasses:ComboBox, DateField, TwinTriggerField
Extends:TextField
Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default). The trigger has no default action, so you must assign a function to implement the trigger click handler by overriding onTriggerClick. You can create a TriggerField directly, as it renders exactly like a combobox for which you can provide a custom implementation. For example: @@ -7,14 +7,14 @@ trigger.onTriggerClick = myTriggerFn; trigger.applyToMarkup('my-field'); However, in general you will most likely want to use TriggerField as the base class for a reusable component. Ext.form.DateField and Ext.form.ComboBox are perfect examples of this.

Config Options

Config OptionsDefined By
 allowBlank : Boolean
Specify false to validate that the value's length is > 0 (defaults to -true)
TextField
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 blankText : String
The error text to display if the allowBlank validation -fails (defaults to 'This field is required')
TextField
 blankText : String
The error text to display if the allowBlank validation +fails (defaults to 'This field is required')
TextField
 cls : String
A custom CSS class to apply to the field's underlying element (defaults to "").
Field
 cls : String
A custom CSS class to apply to the field's underlying element (defaults to '').
Field
 disableKeyFilter : Boolean
Specify true to disable input keystroke filtering (defaults +

Component
 data : Mixed
The initial set of data to apply to the tpl to +update the content area of the Component.
Component
 disableKeyFilter : Boolean
Specify true to disable input keystroke filtering (defaults to false)
TextField
 disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
 enableKeyEvents : Boolean
true to enable the proxying of key events for the HTML input -field (defaults to false)
TextField
 fieldClass : String
The default CSS class for the field (defaults to "x-form-field")
Field
 fieldClass : String
The default CSS class for the field (defaults to 'x-form-field')
Field
 focusClass : String
The CSS class to use when the field receives focus (defaults to "x-form-focus")
Field
 focusClass : String
The CSS class to use when the field receives focus (defaults to 'x-form-focus')
Field
 hidden : Boolean
Render this component hidden (default is false). If true, the hide method will be called internally.
Component
 hideTrigger : Boolean
true to hide the trigger element and display only the base -text field (defaults to false)
TriggerField
 invalidClass : String
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
Field
 invalidClass : String
The CSS class to use when marking a field invalid (defaults to 'x-form-invalid')
Field
 minLength : Number
Minimum input field length required (defaults to 0)
TextField
 msgFx : String
Experimental The effect used when displaying a validation message under the field -(defaults to 'normal').
Field
 preventMark : Boolean
true to disable marking the field invalid. +Defaults to false.
Field
 regexText : String
The error text to display if regex is used and the @@ -473,9 +600,23 @@ Ext.Element.ap...
A custom style specification to be appl } }) ] -});
Component
 submitValue : Boolean
False to clear the name attribute on the field so that it is not submitted during a form post. +Defaults to true.
Field
 validateOnBlur : Boolean
Whether the field should validate when it loses focus (defaults to true).
Field
 validationDelay : Number
The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
Field
 value : Mixed
A value to initialize this field with (defaults to undefined).
Field
 vtype : String
A validation type name as defined in Ext.form.VTypes (defaults to null)
TextField
 value : Mixed
A value to initialize this field with (defaults to undefined).
Field
 vtype : String
A validation type name as defined in Ext.form.VTypes (defaults to null)
TextField
 hidden : Boolean
True if this component is hidden. Read-only.
Component
 initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
 hidden : Boolean
True if this component is hidden. Read-only.
Component
 initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By

Public Events

EventDefined By