Opened 12 years ago

Closed 12 years ago

#5599 closed defect (worksforme)

Grid in Dojox 1.1 scroll broken with regards to page retrieval.

Reported by: Jared Jurkiewicz Owned by: sorvell
Priority: high Milestone: 1.1
Component: DojoX Grid Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Grid in Dojox 1.1 scroll broken with regards to page retrieval.

I've been experimenting with the grid in order to improve its integration with dojo.data. Recently (as of today's codebase), I uncovered that Grid in 1.1 isn't requestng and rendering in more rows when the scrollbar is used. Basically, I took a huge dataset (10K rows), and have loaded it into ItemFileReadStore?. I hacked into model.js and made it so I could see where DojoData? model was called to get more rows ... and I just don't see it ever get called when you scroll to the end of the view. It always stops at row '24'. Then if I click a row in the grid, suddenly the grid requests more rows. Basically, it looks like the slider linkage to when the grid things it needs to render in mow rows is broken in the nightlies. I have a testcase I'll be attaching that shows this.

Attachments (2)

test.html (1.7 KB) - added by Jared Jurkiewicz 12 years ago.
Test HTML file that loads the grid.
test_large.json (78.1 KB) - added by Jared Jurkiewicz 12 years ago.
The JSON data that is loaded by test.html. It only has 1K items, as I couldn't upload the 10K item file, too large for trac. Result is the same.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by Jared Jurkiewicz

Attachment: test.html added

Test HTML file that loads the grid.

Changed 12 years ago by Jared Jurkiewicz

Attachment: test_large.json added

The JSON data that is loaded by test.html. It only has 1K items, as I couldn't upload the 10K item file, too large for trac. Result is the same.

comment:1 Changed 12 years ago by Jared Jurkiewicz

The testcase just needs to be put at the root of the dojo/, dijit/, and dojox/, extract.

It works fine on 1.0.3 (In the branches dir), but not on 1.1. It looks like interception of scroll events is broken or somesuch.

comment:2 Changed 12 years ago by Jared Jurkiewicz

Priority: normalhigh

comment:3 Changed 12 years ago by Jared Jurkiewicz

Note that I saw these issues in Firefox 2.0.0.11 as well as IE 6,

BUT!

Safari B3 works.

comment:4 Changed 12 years ago by Jared Jurkiewicz

This appears to be fixed as of today in 1.1 trunk. So, closing.

comment:5 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

comment:6 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: closedreopened

comment:7 Changed 12 years ago by Adam Peller

Milestone: 1.1
Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.