gridx
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

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

grid
Overrides _Module

Methods

_layout
Overrides _Module
_updateHeight
Overrides _Module
ParameterTypeDescription
freeHeight
getAPIPath
Overrides _Module
load
Overrides _Module
ParameterTypeDescription
args
startup
preload
Overrides _Module
reLayout
Overrides _Module
Virtically re-layout all the grid UI parts.
register
Overrides _Module
When the 'mod' is loaded or "ready", hook 'mod'['nodeName'] to grid['hookPoint'] with priority 'priority'
ParameterTypeDescription
modObjectThe module object
nodeNameStringThe name of the node to be hooked. Must be able to be accessed by mod[nodeName]
hookPointStringThe name of a hook point in grid.
priorityNumber
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