X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.form.TriggerField.html diff --git a/docs/output/Ext.form.TriggerField.html b/docs/output/Ext.form.TriggerField.html index 1ff3cf11..d84c6219 100644 --- a/docs/output/Ext.form.TriggerField.html +++ b/docs/output/Ext.form.TriggerField.html @@ -1,395 +1,275 @@ -
-
- 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
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