gridx.modules.VLayout
Object » _Module » gridx.modules.VLayout
dojo.require("gridx.modules.VLayout");
Defined in gridx/modules/VLayout.js
When user creates a grid with a given height, it means the height of the whole grid, which includes grid body, toobar, pagination bar, headerbar, horizontal scrollerbar, etc. So the height of the grid body must be calculated out so as to layout the grid properly. This module calculates grid body height by collecting height from all the registered grid UI parts. The reLayout function in this module will be called everytime the grid size is changed.
Property Summary
Method Summary
- _layout()
- _updateHeight(freeHeight)
- getAPIPath()
- load(args, startup)
- preload()
- reLayout() Virtically re-layout all the grid UI parts.
- register(mod, nodeName, hookPoint, priority, deferReady) When the 'mod' is loaded or "ready", hook 'mod'['nodeName'] to grid['hookPoint'] with priority 'priority'
Attached Objects
Properties
Methods
Overrides _Module
When the 'mod' is loaded or "ready", hook 'mod'['nodeName'] to grid['hookPoint'] with priority 'priority'
Parameter | Type | Description |
---|---|---|
mod | Object | The module object |
nodeName | String | The name of the node to be hooked. Must be able to be accessed by mod[nodeName] |
hookPoint | String | The name of a hook point in grid. |
priority | Number | Optional. The priority of the hook node. If less than 0, then it's above the base node, larger than 0, below the base node. |
deferReady |