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

gridx.modules.VScroller

Object » _Module » gridx.modules.VScroller
dojo.require("gridx.modules.VScroller");
Defined in gridx/modules/VScroller.js

This module will make the grid body render all rows without paging. So it is very fast for small client side store, and might be extremely slow for large server side store.

Property Summary

Method Summary

Attached Objects

Properties

grid
Overrides _Module

Methods

_doScroll
Overrides _Module
_init
Overrides _Module
_onBodyChange
Overrides _Module
_onForcedScroll
Overrides _Module
_onKeyScroll
Overrides _Module
ParameterTypeDescription
evt
_onMouseWheel
Overrides _Module
ParameterTypeDescription
e
_update
Overrides _Module
constructor
Overrides _Module
getAPIPath
Overrides _Module
load
Overrides _Module
ParameterTypeDescription
args
startup
preload
Overrides _Module
ParameterTypeDescription
args
scrollToRow
Overrides _Module
Returns dojo.Deferred: A deferred object indicating when the scrolling process is finished. This will be useful when using lazy-loading and lazy-rendering.

This job will be an asynchronous one if the lazy-loading and lazy-rendering are used.

ParameterTypeDescription
rowVisualIndexIntegerThe visual index of the row
toTopBoolean
Optional.
If set this to true, the grid will try to scroll the required row to the top of the view. Otherwise, the grid will stop scrolling as soon as the row is visible.