Login Register

scrolling

Connecting window.onscroll or document.body.onscroll to a grid

Hello dojo world.

I am trying to make a mobile (iPhone, at first) interface that uses a grid to load a large dataset. I am most interested in the lazy loading capabilities of the grid.

I would like to link the scrolling of the window to scroll (and lazy-load) the contents of my grid. I have tried (note, I also tried document.body wherever I say window):

*editing the _View template (changing the node with the dojoAttachPoint="scrollboxNode" to the body element)
*using dojo.connect(window, 'onscroll', grid.scroller.scrollboxNode, 'doscroll')

Assertion Error in editable grid

I have a grid with editable cells. When the user double clicks to edit a cell it works fine up and until they have scrolled down the grid for some time, then when they double click they get:
[Exception... "'Error: assertion failed in ItemFileWriteStore' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no]
http://lighthouse.reddev.john/dojoroot/release/dojo/dojo.js.uncompressed...
Line 547

my grid code:

Disable "parent" page scroll while dijit.Dialog scrolls

After showing a dijit.Dialog, is there a way to disable the scrolling of the "parent" page underneath it? I put parent in quotes since they are both on the same page but appear as parent/child.

My Dialog scrolls and when it gets to the bottom of the dialog, the parent page then starts to scroll. The behavior I want is to have the Dialog scroll when its shown and disable the parent scroll. Once the dialog is dismissed, then the parent can scroll again. Any ideas?

Firefox scrolling issues

Hi all,

In WinXP Firefox 2, I have a Grid that is scrollable both horizontally and vertically, similar to the dojox/grid/tests/test_sizing.html Test.

DnD List Scroll - HELP

Hi

I am creating a scriollable list using the following code

Source 2

1
2
3
4
5
6
7

Autoscrolling for dojo.dnd.Moveable should be optional

Right now in dojo 1.0 there's no way to stop a moveable from autoscrolling the window without altering the dojo code. Does anyone else think this should be optional?

No scrollbars?

Hi all,

I need to make sure that the HMTL page I see in the browser will never force the browser to display scroll bars. I am using dojo within that page and whenever the scroll bars appear this moves some moveable elements on the screen.

Is there a global dijit settign that tells dojo to never try position elements (like Moveable) out of the viewport?

Cheers\
Sven

Syndicate content