X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/output/Ext.form.TriggerField.html diff --git a/docs/output/Ext.form.TriggerField.html b/docs/output/Ext.form.TriggerField.html index 1ff3cf11..8ad5ec7f 100644 --- a/docs/output/Ext.form.TriggerField.html +++ b/docs/output/Ext.form.TriggerField.html @@ -1,2623 +1,972 @@ -
-
- 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
Extends:TextField
-
- * -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
xtype:trigger
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 +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: -
var trigger = new Ext.form.TriggerField();
+
var trigger = new Ext.form.TriggerField();
 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
- False to validate that the value length > 0 (defaults to true)
-
TextField
  - - allowDomMove : Boolean
- Whether the component can move the Dom node when rendering (defaults to true).
-
Component
  - - blankText : String
- Error text to display if the allow blank validation fails (defaults to "This field is required")
-
TextField
  - - disableKeyFilter : Boolean
- True to disable input keystroke filtering (defaults to false)
-
TextField
  - - disabled : Boolean
- Render this component disabled (default is false).
-
Component
  - - disabledClass : String
- CSS class added to the component when it is disabled (defaults to "x-item-disabled").
-
Component
  - - fieldClass : String
- The default CSS class for the field (defaults to "x-form-field")
-
Field

Public Events

EventDefined By
\ No newline at end of file