JSGroupModel

From GeoMedia Smart Client
Jump to: navigation, search
GMSC 2013/2014 Javascript API Overview Form Events Types Utility Functions client-side Validation Conditions Interaction with SmartClient Cookbook Cheatsheet
Form Models BaseModel FormModel TabModel GroupModel Field Models ActionModel

GroupModel

The GroupModel contains a list of form fields that are containted within a form group (FormGroup node in formsettings.xml), it inherits all methods and properties from BaseModel

<br\>

Methods

In addition to the methods inherited from BaseModel, it has the following methods

getFieldByName (fieldName)

find a child field of this group based on its name GMSC 2013

Parameters

{String} groupName The id of the child field to be retrieved

Returns

FieldModel the retrieved field model

getActionByName (actionName)

find a child action of this group based on its name. GMSC 2013

Parameters

{String} groupName The id of the child action to be retrieved

Returns

ActionModel the retrieved action model