Opened 7 years ago

Closed 6 years ago

#15155 closed defect (patchwelcome)

dojox.grid.LazyTreeGrid + QueryReadStore - errors when paginating children

Reported by: Seba Owned by: Evan
Priority: undecided Milestone: tbd
Component: DojoX Grid Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

When LazyTreeGrid? is used with LazyTreeGridStoreModel? and QueryReadStore? pagination of children nodes sometimes causes errors.

I was trying to only load children of opened nodes and to load only those records that are visible.

Pagination of root records seems to work fine but after opening a node only the first page of children is loaded and the rest is filled with "...". To scroll I'm using mouse wheel.

Tested under: Firefox (9.0.1), Chrome (18.0.1025.152 m), IE9 (9.0.8112.16421)

Under Opera 11.61 it doesn't work at all.

Attachments (6)

LazyTreeGrid-chrome.png (67.1 KB) - added by Seba 7 years ago.
LazyTreeGrid-firefox.png (35.8 KB) - added by Seba 7 years ago.
LazyTreeGrid-ie9.png (20.6 KB) - added by Seba 7 years ago.
LazyTreeGrid-opera.png (22.2 KB) - added by Seba 7 years ago.
lazytree.php (1.5 KB) - added by Seba 7 years ago.
Main test file with grid implementation
qrstreesource.php (600 bytes) - added by Seba 7 years ago.
Test datasource. Always returns requested amount of rows from $start to $start+$count.

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by Seba

Attachment: LazyTreeGrid-chrome.png added

Changed 7 years ago by Seba

Attachment: LazyTreeGrid-firefox.png added

Changed 7 years ago by Seba

Attachment: LazyTreeGrid-ie9.png added

Changed 7 years ago by Seba

Attachment: LazyTreeGrid-opera.png added

Changed 7 years ago by Seba

Attachment: lazytree.php added

Main test file with grid implementation

Changed 7 years ago by Seba

Attachment: qrstreesource.php added

Test datasource. Always returns requested amount of rows from $start to $start+$count.

comment:1 Changed 7 years ago by Seba

Attached example code that I used to test.

comment:2 Changed 6 years ago by gobird

I want to know had we resolved this problem? and now I met it too.

comment:3 Changed 6 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:4 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.