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
- _doScroll()
- _init()
- _onBodyChange()
- _onForcedScroll()
- _onKeyScroll(evt)
- _onMouseWheel(e)
- _update()
- constructor()
- getAPIPath()
- load(args, startup)
- preload(args)
- scrollToRow(rowVisualIndex, toTop) returns dojo.Deferred Scroll the grid until the required row is in view.
Attached Objects
Properties
Methods
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.
Parameter | Type | Description |
---|---|---|
rowVisualIndex | Integer | The visual index of the row |
toTop | Boolean | 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. |