Roo.util.Observable Roo.Component Roo.BoxComponent Roo.form.Field Roo.form.TextField Roo.form.TriggerField Roo.form.ComboBox Roo.form.ComboCheck
Package: | Roo.form |
Defined In: | Roo/form/ComboCheck.js. |
Class: | ComboCheck |
Extends: | Roo.form.ComboBox |
Options | Defined By | |
---|---|---|
actionMode : String
which property holds the element that used for hide() / show() / disable() / enable()
default is 'el'
which property holds the element that used for hide() / show() / disable() / enable()
default is 'el' |
Roo.Component | |
allQuery : String
The text query to send to the server to return all records for the list with no filtering (defaults to '')
The text query to send to the server to return all records for the list with no filtering (defaults to '')
|
Roo.form.ComboBox | |
allowBlank : Boolean
False to validate that the value length > 0 (defaults to true)
False to validate that the value length > 0 (defaults to true)
|
Roo.form.TextField | |
allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Whether the component can move the Dom node when rendering (defaults to true).
|
Roo.Component | |
alwaysQuery : Boolean
Disable caching of results, and always send query
Disable caching of results, and always send query
|
Roo.form.ComboBox | |
autoCreate : Boolean/Object
A DomHelper element spec, or true for a default element spec (defaults to:
{tag: "input", type: "text", size: "24", autocomplete: "off"})
A DomHelper element spec, or true for a default element spec (defaults to:
{tag: "input", type: "text", size: "24", autocomplete: "off"}) |
Roo.form.ComboBox | |
blankText : String
Error text to display if the allow blank validation fails (defaults to "This field is required")
Error text to display if the allow blank validation fails (defaults to "This field is required")
|
Roo.form.TextField | |
blockFocus : Boolean
Prevents all focus calls, so it can work with things like HTML edtor bar
Prevents all focus calls, so it can work with things like HTML edtor bar
|
Roo.form.ComboBox | |
cls : String
A CSS class to apply to the field's underlying element.
A CSS class to apply to the field's underlying element.
|
Roo.form.Field | |
disableClass : String
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
|
Roo.Component | |
disableClear : Boolean
Disable showing of clear button.
Disable showing of clear button.
|
Roo.form.ComboBox | |
disableKeyFilter : Boolean
True to disable input keystroke filtering (defaults to false)
True to disable input keystroke filtering (defaults to false)
|
Roo.form.TextField | |
disabled : Boolean
True to disable the field (defaults to false).
True to disable the field (defaults to false).
|
Roo.form.Field | |
displayField : String
The underlying data field name to bind to this CombBox (defaults to undefined if
mode = 'remote' or 'text' if mode = 'local')
The underlying data field name to bind to this CombBox (defaults to undefined if
mode = 'remote' or 'text' if mode = 'local') |
Roo.form.ComboBox | |
editable : Boolean
False to prevent the user from typing text directly into the field, just like a
traditional select (defaults to true)
False to prevent the user from typing text directly into the field, just like a
traditional select (defaults to true) |
Roo.form.ComboBox | |
emptyText : String
The default text to display in an empty field - placeholder.
The default text to display in an empty field - placeholder... (defaults to null).
|
Roo.form.TextField | |
fieldClass : String
The default CSS class for the field (defaults to "x-form-field")
The default CSS class for the field (defaults to "x-form-field")
|
Roo.form.Field | |
fieldLabel : String
Label to use when rendering a form.
Label to use when rendering a form.
|
Roo.form.Field | |
focusClass : String
The CSS class to use when the field receives focus (defaults to "x-form-focus")
The CSS class to use when the field receives focus (defaults to "x-form-focus")
|
Roo.form.Field | |
forceSelection : Boolean
True to restrict the selected value to one of the values in the list, false to
allow the user to set arbitrary text into the field (defaults to false)
True to restrict the selected value to one of the values in the list, false to
allow the user to set arbitrary text into the field (defaults to false) |
Roo.form.ComboBox | |
grow : Boolean
|
Roo.form.ComboBox | |
growMax : Number
|
Roo.form.ComboBox | |
growMin : Number
|
Roo.form.ComboBox | |
handleHeight : Number
The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)
The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)
|
Roo.form.ComboBox | |
height : Number
height (optional) size of component
height (optional) size of component
|
Roo.BoxComponent | |
hiddenName : String
If specified, a hidden form field with this name is dynamically generated to store the
field's data value (defaults to the underlying DOM element's name)
If specified, a hidden form field with this name is dynamically generated to store the
field's data value (defaults to the underlying DOM element's name) |
Roo.form.ComboBox | |
hideMode : String
How this component should hidden.
How this component should hidden. Supported values are
"visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". Possible Values: display, visibility |
Roo.Component | |
hideTrigger : Boolean
True to hide the trigger element and display only the base text field (defaults to false)
True to hide the trigger element and display only the base text field (defaults to false)
|
Roo.form.TriggerField | |
inputType : String
The type attribute for input fields -- e.g.
The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
|
Roo.form.Field | |
invalidClass : String
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
|
Roo.form.Field | |
invalidText : String
The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
|
Roo.form.Field | |
lazyRender : Boolean
True to prevent the ComboBox from rendering until requested (should always be used when
rendering into an Roo.Editor, defaults to false)
True to prevent the ComboBox from rendering until requested (should always be used when
rendering into an Roo.Editor, defaults to false) |
Roo.form.ComboBox | |
listAlign : String
A valid anchor position value.
A valid anchor position value. See {link Roo.ElementalignTo} for details on supported
anchor positions (defaults to 'tl-bl') |
Roo.form.ComboBox | |
listClass : String
CSS class to apply to the dropdown list element (defaults to '')
CSS class to apply to the dropdown list element (defaults to '')
|
Roo.form.ComboBox | |
listWidth : Number
The width in pixels of the dropdown list (defaults to the width of the ComboBox field)
The width in pixels of the dropdown list (defaults to the width of the ComboBox field)
|
Roo.form.ComboBox | |
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable | |
loadingText : String
The text to display in the dropdown list while data is loading.
The text to display in the dropdown list while data is loading. Only applies
when mode = 'remote' (defaults to 'Loading...') |
Roo.form.ComboBox | |
maskRe : String
An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
|
Roo.form.TextField | |
maxHeight : Number
The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)
The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)
|
Roo.form.ComboBox | |
maxLength : Number
Maximum input field length allowed (defaults to Number.MAX_VALUE)
Maximum input field length allowed (defaults to Number.MAX_VALUE)
|
Roo.form.TextField | |
maxLengthText : String
Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
|
Roo.form.TextField | |
minChars : Number
The minimum number of characters the user must type before autocomplete and typeahead activate
(defaults to 4, does not apply if editable = false)
The minimum number of characters the user must type before autocomplete and typeahead activate
(defaults to 4, does not apply if editable = false) |
Roo.form.ComboBox | |
minLength : Number
Minimum input field length required (defaults to 0)
Minimum input field length required (defaults to 0)
|
Roo.form.TextField | |
minLengthText : String
Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
|
Roo.form.TextField | |
minListWidth : Number
The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if
listWidth has a higher value)
The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if
listWidth has a higher value) |
Roo.form.ComboBox | |
mode : String
Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)
Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)
|
Roo.form.ComboBox | |
msgFx : String
Experimental The effect used when displaying a validation message under the field (defaults to 'normal').
Experimental The effect used when displaying a validation message under the field (defaults to 'normal').
|
Roo.form.Field | |
msgTarget : String
The location where error text should display.
The location where error text should display. Should be one of the following values (defaults to 'qtip'):
|
Roo.form.Field | |
name : String
The field's HTML name attribute.
The field's HTML name attribute.
|
Roo.form.Field | |
pageSize : Number
If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the
filter queries will execute with page start and limit parameters.
If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the
filter queries will execute with page start and limit parameters. Only applies when mode = 'remote' (defaults to 0) |
Roo.form.ComboBox | |
qtip : String
Mouse over tip
Mouse over tip
|
Roo.form.Field | |
queryDelay : Number
The length of time in milliseconds to delay between the start of typing and sending the
query to filter the dropdown list (defaults to 500 if mode = 'remote' or 10 if mode = 'local')
The length of time in milliseconds to delay between the start of typing and sending the
query to filter the dropdown list (defaults to 500 if mode = 'remote' or 10 if mode = 'local') |
Roo.form.ComboBox | |
queryParam : String
Name of the query as it will be passed on the querystring (defaults to 'query')
Name of the query as it will be passed on the querystring (defaults to 'query')
|
Roo.form.ComboBox | |
readOnly : Boolean
True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
|
Roo.form.Field | |
regex : RegExp
A JavaScript RegExp object to be tested against the field value during validation (defaults to null).
A JavaScript RegExp object to be tested against the field value during validation (defaults to null).
If available, this regex will be evaluated only after the basic validators all return true, and will be passed the current field value. If the test fails, the field will be marked invalid using {link regexText}. |
Roo.form.TextField | |
regexText : String
The error text to display if {link regex} is used and the test fails during validation (defaults to "")
The error text to display if {link regex} is used and the test fails during validation (defaults to "")
|
Roo.form.TextField | |
resizable : Boolean
True to add a resize handle to the bottom of the dropdown list (defaults to false)
True to add a resize handle to the bottom of the dropdown list (defaults to false)
|
Roo.form.ComboBox | |
selectOnFocus : Boolean
True to select any existing text in the field immediately on focus.
True to select any existing text in the field immediately on focus. Only applies
when editable = true (defaults to false) |
Roo.form.ComboBox | |
selectedClass : String
CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')
CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')
|
Roo.form.ComboBox | |
shadow : Boolean/String
True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right
True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right
|
Roo.form.ComboBox | |
store : Roo.data.Store
The data store to which this combo is bound (defaults to undefined)
The data store to which this combo is bound (defaults to undefined)
|
Roo.form.ComboBox | |
tabIndex : Number
The tabIndex for this field.
The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
|
Roo.form.Field | |
title : String
If supplied, a header element is created containing this text and added into the top of
the dropdown list (defaults to undefined, with no header element)
If supplied, a header element is created containing this text and added into the top of
the dropdown list (defaults to undefined, with no header element) |
Roo.form.ComboBox | |
tpl : String/Roo.Template
The template to use to render the output
The template to use to render the output
|
Roo.form.ComboBox | |
transform : String/HTMLElement/Element
The id, DOM node or element of an existing select to convert to a ComboBox
The id, DOM node or element of an existing select to convert to a ComboBox
|
Roo.form.ComboBox | |
triggerAction : String
The action to execute when the trigger field is activated.
The action to execute when the trigger field is activated. Use 'all' to run the
query specified by the allQuery config option (defaults to 'query') |
Roo.form.ComboBox | |
triggerClass : String
An additional CSS class used to style the trigger button.
An additional CSS class used to style the trigger button. The trigger will always get the
class 'x-form-trigger' and triggerClass will be appended if specified (defaults to 'x-form-arrow-trigger' which displays a downward arrow icon). |
Roo.form.ComboBox | |
typeAhead : Boolean
True to populate and autoselect the remainder of the text being typed after a configurable
delay (typeAheadDelay) if it matches a known value (defaults to false)
True to populate and autoselect the remainder of the text being typed after a configurable
delay (typeAheadDelay) if it matches a known value (defaults to false) |
Roo.form.ComboBox | |
typeAheadDelay : Number
The length of time in milliseconds to wait until the typeahead text is displayed
if typeAhead = true (defaults to 250)
The length of time in milliseconds to wait until the typeahead text is displayed
if typeAhead = true (defaults to 250) |
Roo.form.ComboBox | |
validateOnBlur : Boolean
Whether the field should validate when it loses focus (defaults to true).
Whether the field should validate when it loses focus (defaults to true).
|
Roo.form.Field | |
validationDelay : Number
The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
|
Roo.form.Field | |
validationEvent : String/Boolean
The event that should initiate field validation.
The event that should initiate field validation. Set to false to disable
automatic validation (defaults to "keyup"). |
Roo.form.Field | |
validator : Function
A custom validation function to be called during field validation (defaults to null).
A custom validation function to be called during field validation (defaults to null).
If available, this function will be called only after the basic validators all return true, and will be passed the current field value and expected to return boolean true if the value is valid or a string error message if invalid. |
Roo.form.TextField | |
value : Mixed
A value to initialize this field with.
A value to initialize this field with.
|
Roo.form.Field | |
valueField : String
The underlying data value name to bind to this CombBox (defaults to undefined if
mode = 'remote' or 'value' if mode = 'local').
The underlying data value name to bind to this CombBox (defaults to undefined if
mode = 'remote' or 'value' if mode = 'local'). Note: use of a valueField requires the user make a selection in order for a value to be mapped. |
Roo.form.ComboBox | |
valueNotFoundText : String
When using a name/value combo, if the value passed to setValue is not found in
the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined)
When using a name/value combo, if the value passed to setValue is not found in
the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined) |
Roo.form.ComboBox | |
vtype : String
A validation type name as defined in {link Roo.form.VTypes} (defaults to null)
A validation type name as defined in {link Roo.form.VTypes} (defaults to null)
|
Roo.form.TextField | |
width : Number
width (optional) size of component
width (optional) size of component
|
Roo.BoxComponent |
Method | Defined By | |
---|---|---|
new Roo.form.ComboCheck
(Object config)
Create a new Roo.form.ComboCheck
Create a new Roo.form.ComboCheck
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
applyTo
(String/HTMLElement/Element el)
:
Roo.form.Field
Apply the behaviors of this component to an existing element.
Apply the behaviors of this component to an existing element. This is used instead of render().
|
Roo.form.Field | |
autoSize
()
|
Roo.form.TriggerField | |
clearInvalid
()
Clear any invalid styles/messages for this field
Clear any invalid styles/messages for this field
|
Roo.form.Field | |
clearValue
()
Clears any text/value currently set in the field
Clears any text/value currently set in the field
|
Roo.form.ComboBox | |
collapse
()
Hides the dropdown list if it is currently expanded.
Hides the dropdown list if it is currently expanded. Fires the 'collapse' event on completion.
|
Roo.form.ComboBox | |
destroy
()
Destroys this component by purging any event listeners, removing the component's element from the DOM,
removing the component from its {link Roo.Container} (if applicable) and unregistering it from {link Roo.ComponentMgr}.
Destroys this component by purging any event listeners, removing the component's element from the DOM,
removing the component from its {link Roo.Container} (if applicable) and unregistering it from {link Roo.ComponentMgr}. |
Roo.Component | |
disable
()
:
Roo.Component
Disable this component.
Disable this component.
|
Roo.Component | |
Execute a query to filter the dropdown list.
Execute a query to filter the dropdown list. Fires the beforequery event prior to performing the
query allowing the query action to be canceled if needed. |
Roo.form.ComboBox | |
enable
()
:
Roo.Component
Enable this component.
Enable this component.
|
Roo.Component | |
expand
()
Expands the dropdown list if it is currently hidden.
Expands the dropdown list if it is currently hidden. Fires the 'expand' event on completion.
|
Roo.form.ComboBox | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
focus
(Boolean selectText)
:
Roo.Component
Try to focus this component.
Try to focus this component.
|
Roo.Component | |
getBox
(Boolean local)
Gets the current box measurements of the component's underlying element.
Gets the current box measurements of the component's underlying element.
|
Roo.BoxComponent | |
getEl
()
:
Roo.Element
Returns the underlying {link Roo.Element}.
Returns the underlying {link Roo.Element}.
|
Roo.Component | |
getId
()
:
String
Returns the id of this component.
Returns the id of this component.
|
Roo.Component | |
getName
()
:
String
Returns the name attribute of the field if available
Returns the name attribute of the field if available
|
Roo.form.Field | |
Gets the current XY position of the component's underlying element.
|
Roo.BoxComponent | |
getRawValue
()
:
Mixed
Returns the raw data value which may or may not be a valid, defined value.
Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see {link getValue}.
|
Roo.form.Field | |
getSize
()
:
Object
Gets the current size of the component's underlying element.
Gets the current size of the component's underlying element.
|
Roo.BoxComponent | |
getValue
()
:
String
Returns the currently selected field value or empty string if no value is set.
Returns the currently selected field value or empty string if no value is set.
|
Roo.form.ComboBox | |
hasChanged
()
checks the current value against the 'loaded' value.
checks the current value against the 'loaded' value.
Note - will return false if 'resetHasChanged' has not been called first. |
Roo.form.Field | |
Roo.util.Observable | ||
hide
()
:
Roo.Component
Hide this component.
Hide this component.
|
Roo.Component | |
isDirty
()
Returns true if this field has been changed since it was originally loaded and is not disabled.
Returns true if this field has been changed since it was originally loaded and is not disabled.
DEPRICATED - it never worked well - use hasChanged/resetHasChanged. |
Roo.form.Field | |
isExpanded
()
Returns true if the dropdown list is expanded, else false.
Returns true if the dropdown list is expanded, else false.
|
Roo.form.ComboBox | |
Roo.form.Field | ||
isVisible
()
Returns true if this component is visible.
Returns true if this component is visible.
|
Roo.Component | |
markInvalid
(String msg)
Mark this field as invalid
Mark this field as invalid
|
Roo.form.Field | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
Called after the component is moved, this method is empty by default but can be implemented by any
subclass that needs to perform custom logic after a move occurs. |
Roo.BoxComponent | |
Called after the component is resized, this method is empty by default but can be implemented by any
subclass that needs to perform custom logic after a resize occurs.
Called after the component is resized, this method is empty by default but can be implemented by any
subclass that needs to perform custom logic after a resize occurs. |
Roo.BoxComponent | |
onTriggerClick
(EventObject e)
The function that should handle the trigger's click event.
The function that should handle the trigger's click event. This method does nothing by default until overridden
by an implementing function.
|
Roo.form.TriggerField | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
render
(String/HTMLElement/Element container)
If this is a lazy rendering component, render it to its container element.
If this is a lazy rendering component, render it to its container element.
|
Roo.Component | |
reset
()
Resets the current field value to the originally-loaded value and clears any validation messages.
Resets the current field value to the originally-loaded value and clears any validation messages.
|
Roo.form.TextField | |
resetHasChanged
()
stores the current value in loadedValue
stores the current value in loadedValue
|
Roo.form.Field | |
Select an item in the dropdown list by its numeric index in the list.
Select an item in the dropdown list by its numeric index in the list. This function does NOT cause the select event to fire.
The store must be loaded and the list expanded for this function to work, otherwise use setValue. |
Roo.form.ComboBox | |
Select an item in the dropdown list by its data value.
Select an item in the dropdown list by its data value. This function does NOT cause the select event to fire.
The store must be loaded and the list expanded for this function to work, otherwise use setValue.
|
Roo.form.ComboBox | |
Roo.form.TextField | ||
setDisabled
(Boolean disabled)
Convenience function for setting disabled/enabled by boolean.
Convenience function for setting disabled/enabled by boolean.
|
Roo.Component | |
setEditable
(Boolean value)
Allow or prevent the user from directly editing the field text.
Allow or prevent the user from directly editing the field text. If false is passed,
the user will only be able to select from the items defined in the dropdown list. This method is the runtime equivalent of setting the 'editable' config option at config time.
|
Roo.form.ComboBox | |
setFromData
(Object value)
Sets the value of the field based on a object which is related to the record format for the store.
Sets the value of the field based on a object which is related to the record format for the store.
|
Roo.form.ComboBox | |
Roo.BoxComponent | ||
Roo.BoxComponent | ||
setRawValue
(Mixed value)
Sets the underlying DOM field's value directly, bypassing validation.
Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {link setValue}.
|
Roo.form.Field | |
Sets the width and height of the component.
Sets the width and height of the component. This method fires the resize event. This method can accept
either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.
|
Roo.BoxComponent | |
setValue
(String value)
Sets the specified value into the field.
Sets the specified value into the field. If the value finds a match, the corresponding record text
will be displayed in the field. If the value does not match the data value of an existing item, and the valueNotFoundText config option is defined, it will be displayed as the default field text. Otherwise the field will be blank (although the value will still be set).
|
Roo.form.ComboBox | |
setVisible
(Boolean visible)
:
Roo.Component
Convenience function to hide or show this component by boolean.
Convenience function to hide or show this component by boolean.
|
Roo.Component | |
show
()
:
Roo.Component
Show this component.
Show this component.
|
Roo.Component | |
syncSize
()
Force the component's size to recalculate based on the underlying element's current height and width.
Force the component's size to recalculate based on the underlying element's current height and width.
|
Roo.BoxComponent | |
Roo.util.Observable | ||
updateBox
(Object box)
Sets the current box measurements of the component's underlying element.
Sets the current box measurements of the component's underlying element.
|
Roo.BoxComponent | |
validate
()
:
Boolean
Validates the field value
Validates the field value
|
Roo.form.Field | |
validateValue
(Mixed value)
:
Boolean
Validates a value according to the field's validation rules and marks the field as invalid
if the validation fails
Validates a value according to the field's validation rules and marks the field as invalid
if the validation fails
|
Roo.form.TextField |
Event | Defined By | |
---|---|---|
add (Roo.form.ComboBox combo)
Fires when the 'add' icon is pressed (add a listener to enable add button)
Fires when the 'add' icon is pressed (add a listener to enable add button)
|
Roo.form.ComboBox | |
autosize (Roo.form.Field this, Number width)
Fires when the autosize function is triggered.
Fires when the autosize function is triggered. The field may or may not have actually changed size
according to the default logic, but this event provides a hook for the developer to apply additional logic at runtime to resize the field if needed.
|
Roo.form.TextField | |
beforedestroy (Roo.Component this)
Fires before the component is destroyed.
Fires before the component is destroyed. Return false to stop the destroy.
|
Roo.Component | |
beforehide (Roo.Component this)
Fires before the component is hidden.
Fires before the component is hidden. Return false to stop the hide.
|
Roo.Component | |
Fires before all queries are processed.
Fires before all queries are processed. Return false to cancel the query or set cancel to true.
The event object passed has these properties:
|
Roo.form.ComboBox | |
beforerender (Roo.Component this)
Fires before the component is rendered.
Fires before the component is rendered. Return false to stop the render.
|
Roo.Component | |
Fires before a list item is selected.
Fires before a list item is selected. Return false to cancel the selection.
|
Roo.form.ComboBox | |
beforeshow (Roo.Component this)
Fires before the component is shown.
Fires before the component is shown. Return false to stop the show.
|
Roo.Component | |
blur (Roo.form.Field this)
Fires when this field loses input focus.
Fires when this field loses input focus.
|
Roo.form.Field | |
change (Roo.form.Field this, Mixed newValue, Mixed oldValue)
Fires just before the field blurs if the field value has changed.
Fires just before the field blurs if the field value has changed.
|
Roo.form.Field | |
collapse (Roo.form.ComboBox combo)
Fires when the dropdown list is collapsed
Fires when the dropdown list is collapsed
|
Roo.form.ComboBox | |
destroy (Roo.Component this)
Fires after the component is destroyed.
Fires after the component is destroyed.
|
Roo.Component | |
disable (Roo.Component this)
Fires after the component is disabled.
Fires after the component is disabled.
|
Roo.Component | |
edit (Roo.form.ComboBox combo, Roo.data.Record|false record)
Fires when the 'edit' icon is pressed (add a listener to enable add button)
Fires when the 'edit' icon is pressed (add a listener to enable add button)
|
Roo.form.ComboBox | |
enable (Roo.Component this)
Fires after the component is enabled.
Fires after the component is enabled.
|
Roo.Component | |
expand (Roo.form.ComboBox combo)
Fires when the dropdown list is expanded
Fires when the dropdown list is expanded
|
Roo.form.ComboBox | |
focus (Roo.form.Field this)
Fires when this field receives input focus.
Fires when this field receives input focus.
|
Roo.form.Field | |
hide (Roo.Component this)
Fires after the component is hidden.
Fires after the component is hidden.
|
Roo.Component | |
invalid (Roo.form.Field this, String msg)
Fires after the field has been marked as invalid.
Fires after the field has been marked as invalid.
|
Roo.form.Field | |
keyup (Roo.form.Field this, Roo.EventObject e)
Fires after the key up
Fires after the key up
|
Roo.form.Field | |
Fires after the component is moved.
Fires after the component is moved.
|
Roo.BoxComponent | |
render (Roo.Component this)
Fires after the component is rendered.
Fires after the component is rendered.
|
Roo.Component | |
Fires after the component is resized.
Fires after the component is resized.
|
Roo.BoxComponent | |
Fires when a list item is selected
Fires when a list item is selected
|
Roo.form.ComboBox | |
show (Roo.Component this)
Fires after the component is shown.
Fires after the component is shown.
|
Roo.Component | |
specialkey (Roo.form.Field this, Roo.EventObject e)
Fires when any key related to navigation (arrows, tab, enter, esc, etc.
Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check
{link Roo.EventObjectgetKey} to determine which key was pressed.
|
Roo.form.Field | |
valid (Roo.form.Field this)
Fires after the field has been validated with no errors.
Fires after the field has been validated with no errors.
|
Roo.form.Field |