inputEx-library

inputex-combine  3.0.0a

inputEx-library > inputex-combine > inputEx.CombineField
Search:
 
Filters

Class inputEx.CombineField - extends inputEx.Group

Known Subclasses:
inputEx.KeyValueField inputEx.TimeIntervalField inputEx.DateTimeField inputEx.DateSplitField inputEx.TimeField inputEx.DateSelectMonthField
A meta field to put N fields on the same line, separated by separators

Constructor

inputEx.CombineField ( options )
Parameters:
options <Object> Added options:
  • separators: array of string inserted

Properties

NAME - static final String

Class name.

NS - static final String

The namespace for the plugin. This will be the property on the host which references the plugin instance.

Properties inherited from inputEx.Field:

Methods

_afterAddTheadTrNode

void _afterAddTheadTrNode ( )
Add a "delete" column to the datatable

_afterCreateTbodyTrNode

void _afterCreateTbodyTrNode ( )
Add the remove column to the table Create the TD node to delete

_onRemoveLabelClick

void _onRemoveLabelClick ( )
Send the remove event

appendSeparator

void appendSeparator ( )
Add a separator to the divEl

confirmDelete

void confirmDelete ( )
Remove the Record from the record set

fieldsToColumndefs

void fieldsToColumndefs ( )
Convert an inputEx fields definition to a DataTable columns definition

fieldToColumndef

void fieldToColumndef ( )
Convert a single inputEx field definition to a DataTable column definition

getValue

Array getValue ( )
Specific getValue
Returns: Array
An array of values [value1, value2, ...]

renderField

void renderField ( fieldOptions )
Override to force required option on each subfield
Parameters:
fieldOptions <Object> The field properties as required by inputEx()

renderFields

void renderFields ( )
Render the subfields

setOptions

void setOptions ( options )
Set the default values of the options
Parameters:
options <Object> Options object as passed to the constructor

setValue

void setValue ( values , [sendUpdatedEvt] )
Set the value
Parameters:
values <Array> [value1, value2, ...]
[sendUpdatedEvt] <boolean> (optional) Wether this setValue should fire the 'updated' event or not (default is true, pass false to NOT send the event)

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.