Type:
- string
 
Type:
- string
 
Type:
- string
 
model :model
The model used by this view.
Type:
modelName :model.ModelId
The id of the model used by this view.
Type:
True if the view is currently showing Single Row View and false otherwise. This only applies if the view supports Single Row View (it is undefined otherwise).
Type:
- boolean
 
The jQuery object for the alternate recordView widget that implements Single Row View. This only applies if the view supports single row view and the feature is configured.
Type:
- jQuery
 
Type:
- string
 
The jQuery object for the view.
Type:
- jQuery
 
Parameters:
| Name | Type | Description | 
|---|---|---|
pContext | 
            
            Element | An element within visual DOM representation of a record. | 
Returns:
- Type
 - Array
 
Returns the currently selected model records in the view. If there is no selection or the view does not support selection then an empty array is returned.
Returns:
- Type
 - Array
 
Sets the current selection in the view from the given array of model records. Only applies if the view supports selection.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
pRecords | 
            
            Array | an array of model records or an array of model record ids as returned by model getRecordId. If this is an empty array then the selection is cleared. | |
pFocus | 
            
            boolean | 
                
                    <optional> | 
            
            
            if true the first cell/field/item of the selection is given focus. | 
pNoNotify | 
            
            boolean | 
                
                    <optional> | 
            
            
            if true the selection change event will be suppressed |