GridRowModel

Model extended with some fields related to grid rendering. Used as default model type in the grids store if nothing else is specified.

Using this model is optional. If you use a custom model instead and need the functionality of any of the fields below, you just have to remember to add fields with the same name to your model.

Properties

62

Class hierarchy

isGridRowModel: Boolean= truereadonly
Identifies an object as an instance of GridRowModel class, or subclass thereof.
isGridRowModel: Boolean= truereadonlystatic
Identifies an object as an instance of GridRowModel class, or subclass thereof.
isModelModel
isModelLinkModelLink
isModelStmModelStm
isTreeNodeTreeNode

Editing

copyOfModel
isValidModel

Fields

allFieldsstaticModel
autoExposeFieldsstaticModel
childrenFieldstaticModel
defaultsstaticModel
fieldMapstaticModel
fieldsstaticModel
idFieldstaticModel

Grouping

Identification

keyModel

JSON

jsonModel

Lifecycle

configBase

Linked records

hasLinksModelLink
isLinkedModelLink
recordLinksModelLink

Misc

stmModelStm

Other

$namestaticModel
relationsstaticModel

Parent & children

allChildrenTreeNode
childLevelTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode

Functions

54

Configuration

applyDefaultsstaticBase

Editing

copyModel
getDataModel
removeModel
setModel

Events

Fields

addFieldstaticModel
getModel
processFieldstaticModel
removeFieldstaticModel

Identification

asIdstaticModel
generateIdstaticModel

JSON

toJSONModel

Lifecycle

destroystaticBase

Misc

equalsModel
initClassstaticBase
isOfTypeNamestaticBase
linkModelLink
mixinstaticBase

Other

Parent & children

appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
containsTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
traverseTreeNode

Typedefs

1

Fields

6

Misc

fixed: Boolean

A boolean field used by the LockRows feature for pinning a row to the top.

Styling

cls: String

CSS class (or several classes divided by space) to append to row elements

iconCls: String

Icon for row (used automatically in tree, feel free to use it in renderer in other cases)

rowHeight: Number

Used by the default implementation of getRowHeight to determine row height. Set it to use another height than the default for the records row.

Tree

href: String

A link to use for this record when rendered into a TreeColumn.

The target to use if this tree node provides a value for the href field.