Roo.util.Observable Roo.Component Roo.bootstrap.Component Roo.bootstrap.Input Roo.bootstrap.TriggerField Roo.bootstrap.ComboBox2
Package: | Roo.bootstrap |
Defined In: | Roo/bootstrap/ComboBox2.js. |
Class: | ComboBox2 |
Extends: | Roo.bootstrap.TriggerField |
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 | |
after : string
- input group add on after
- input group add on after
|
Roo.bootstrap.Input | |
align : String
Default left
Default left
Possible Values: left, center, right |
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
append : Boolean
default false
default false
Possible Values: true, false |
Roo.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
autoFocus : Boolean
auto focus the first item, default true
auto focus the first item, default true
Possible Values: true, false |
Roo.bootstrap.ComboBox2 | |
autocomplete : String
- default is new-password see: https://developers.google.com/web/fundamentals/input/form/label-and-name-inputs?hl=en
- default is new-password see: https://developers.google.com/web/fundamentals/input/form/label-and-name-inputs?hl=en
|
Roo.bootstrap.Input | |
before : string
- input group add on before
- input group add on before
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
btnPosition : String
set the position of the trigger button (left | right) default right
set the position of the trigger button (left | right) default right
|
Roo.bootstrap.ComboBox2 | |
can_build_overlaid : Boolean
True if element can be rebuild from a HTML page
True if element can be rebuild from a HTML page
|
Roo.bootstrap.Component | |
caret : String
a fontawesome for the trigger icon see http://fortawesome.github.io/Font-Awesome/icons/
a fontawesome for the trigger icon see http://fortawesome.github.io/Font-Awesome/icons/
Possible Values: search, calendar |
Roo.bootstrap.TriggerField | |
cls : String
css class
css class
|
Roo.bootstrap.Component | |
container_method : string
method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)
method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)
|
Roo.bootstrap.Component | |
dataId : string
cutomer id
cutomer id
|
Roo.bootstrap.Component | |
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.bootstrap.ComboBox2 | |
disableKeyFilter : Boolean
True to disable input keystroke filtering (defaults to false)
True to disable input keystroke filtering (defaults to false)
|
Roo.bootstrap.Input | |
disabled : Boolean
is it disabled
is it disabled
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
fieldLabel : String
- the label associated
- the label associated
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
forceFeedback : Boolean
Default false
Default false
Possible Values: true, false |
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
grow : Boolean
|
Roo.bootstrap.ComboBox2 | |
growMax : Number
|
Roo.bootstrap.ComboBox2 | |
growMin : Number
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
hasFeedback : Boolean
default true
default true
Possible Values: true, false |
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.TriggerField | |
inputType : String
button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text
button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
invalidFeedbackIcon : String
The CSS class to use when create feedback icon (defaults to "x-form-invalid")
The CSS class to use when create feedback icon (defaults to "x-form-invalid")
|
Roo.bootstrap.Input | |
labelAlign : String
Possible Values: top, left |
Roo.bootstrap.Input | |
labelWidth : Number
set the width of label (0-12)
set the width of label (0-12)
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
lg : Number
colspan out of 12 for large computer-sized screens
colspan out of 12 for large computer-sized screens
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
maxLength : Number
Maximum input field length allowed (defaults to Number.MAX_VALUE)
Maximum input field length allowed (defaults to Number.MAX_VALUE)
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
md : Number
colspan out of 12 for computer-sized screens
colspan out of 12 for computer-sized screens
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
minLength : Number
Minimum input field length required (defaults to 0)
Minimum input field length required (defaults to 0)
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
multiple : Boolean
ComboBobArray, default false
ComboBobArray, default false
Possible Values: true, false |
Roo.bootstrap.ComboBox2 | |
name : String
name of the input
name of the input
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
placeholder : string
- placeholder to put in text.
- placeholder to put in text.
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
readOnly : Boolean
Specifies that the field should be read-only
Specifies that the field should be read-only
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.Input | |
removable : Boolean
special filter default false
special filter default false
Possible Values: true, false |
Roo.bootstrap.TriggerField | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
size : string
- (lg|sm) or leave empty.
- (lg|sm) or leave empty..
|
Roo.bootstrap.Input | |
sm : Number
colspan out of 12 for tablet-sized screens
colspan out of 12 for tablet-sized screens
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
style : String
any extra css
any extra css
|
Roo.bootstrap.Component | |
tickable : Boolean
ComboBox with tickable selections (true|false), default false
ComboBox with tickable selections (true|false), default false
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
tooltip : string
Text for the tooltip
Text for the tooltip
|
Roo.bootstrap.Component | |
tpl : String/Roo.Template
The template to use to render the output
The template to use to render the output
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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' by default and triggerClass will be appended if specified. |
Roo.bootstrap.TriggerField | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
validClass : String
The CSS class to use when marking a field valid (defaults to "x-form-invalid")
The CSS class to use when marking a field valid (defaults to "x-form-invalid")
|
Roo.bootstrap.Input | |
validFeedbackIcon : String
The CSS class to use when create feedback icon (defaults to "x-form-invalid")
The CSS class to use when create feedback icon (defaults to "x-form-invalid")
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.Input | |
value : string
default value of the input
default value of the input
|
Roo.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
xattr : Object
extra attributes to add to 'element' (used by builder to store stuff.
extra attributes to add to 'element' (used by builder to store stuff.)
|
Roo.bootstrap.Component | |
xs : Number
colspan out of 12 for mobile-sized screens
colspan out of 12 for mobile-sized screens
|
Roo.bootstrap.Input |
Method | Defined By | |
---|---|---|
new Roo.bootstrap.ComboBox2
(Object config)
Create a new Roo.bootstrap.ComboBox2
Create a new Roo.bootstrap.ComboBox2
|
||
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 | |
autoSize
()
|
Roo.bootstrap.TriggerField | |
clearInvalid
()
Clear any invalid styles/messages for this field
Clear any invalid styles/messages for this field
|
Roo.bootstrap.Input | |
clearValue
()
Clears any text/value currently set in the field
Clears any text/value currently set in the field
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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 | |
getChildContainer
()
:
Roo.Element
Fetch the element to add children to
Fetch the element to add children to
|
Roo.bootstrap.Component | |
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
()
:
Mixed
Returns the name of the field
Returns the name of the field
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
Roo.util.Observable | ||
hide
()
Hide a component - adds 'hidden' class
Hide a component - adds 'hidden' class
|
Roo.bootstrap.Component | |
initEvents
()
Initialize Events for the element
Initialize Events for the element
|
Roo.bootstrap.Component | |
inputEl
()
return the real input element.
return the real input element.
|
Roo.bootstrap.Input | |
isExpanded
()
Returns true if the dropdown list is expanded, else false.
Returns true if the dropdown list is expanded, else false.
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
markValid
()
Mark this field as valid
Mark this field as valid
|
Roo.bootstrap.Input | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
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.bootstrap.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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
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.bootstrap.ComboBox2 | |
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
()
Show a component - removes 'hidden' class
Show a component - removes 'hidden' class
|
Roo.bootstrap.Component | |
tooltipEl
()
:
Roo.Element
Fetch the element to display the tooltip on.
Fetch the element to display the tooltip on.
|
Roo.bootstrap.Component | |
Roo.util.Observable | ||
validate
()
:
Boolean
Validates the field value
Validates the field value
|
Roo.bootstrap.Input | |
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.bootstrap.Input |
Event | Defined By | |
---|---|---|
add (Roo.bootstrap.ComboBox2 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.bootstrap.ComboBox2 | |
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 | |
beforequery (Roo.bootstrap.ComboBox2 combo, String query, Boolean forceAll, Boolean cancel, Object e)
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.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
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.bootstrap.Input | |
childrenrendered (Roo.bootstrap.Component this)
Fires when the children have been rendered.
Fires when the children have been rendered..
|
Roo.bootstrap.Component | |
collapse (Roo.bootstrap.ComboBox2 combo)
Fires when the dropdown list is collapsed
Fires when the dropdown list is collapsed
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.ComboBox2 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.bootstrap.ComboBox2 | |
enable (Roo.Component this)
Fires after the component is enabled.
Fires after the component is enabled.
|
Roo.Component | |
expand (Roo.bootstrap.ComboBox2 combo)
Fires when the dropdown list is expanded
Fires when the dropdown list is expanded
|
Roo.bootstrap.ComboBox2 | |
focus (Roo.form.Field this)
Fires when this field receives input focus.
Fires when this field receives input focus.
|
Roo.bootstrap.Input | |
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.bootstrap.Input | |
keyup (Roo.form.Field this, Roo.EventObject e)
Fires after the key up
Fires after the key up
|
Roo.bootstrap.Input | |
remove (Roo.bootstrap.ComboBox2 combo)
Fires when the remove value from the combobox array
Fires when the remove value from the combobox array
|
Roo.bootstrap.ComboBox2 | |
render (Roo.Component this)
Fires after the component is rendered.
Fires after the component is rendered.
|
Roo.Component | |
Fires when a list item is selected
Fires when a list item is selected
|
Roo.bootstrap.ComboBox2 | |
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.bootstrap.Input | |
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.bootstrap.Input |