Opened 8 years ago

Closed 7 years ago

#13054 closed defect (patchwelcome)

EnhancedGrid/QueryReadStore sorting reversed/lost on new data query

Reported by: kdugg Owned by: Evan
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.6.1
Keywords: enhancedGrid Cc: kevin@…
Blocked By: Blocking:

Description

Since upgrading to dojo 1.6 we have had some problems with the dojox.grid.EnhancedGrid? on Firefox (3.6.16) - windows 7 and ubuntu.

When you sort on a header it correctly calls the QueryReadStore? store and gets the sorted data. However when you scroll down the grid and it requests more data the sort order is reversed – so for example “self_name” will change to “-self_name” in the url request.

The same behaviour occurs when we use the pagination plugin. The next page of data will be therefore be sorted incorrectly.

It works fine with IE8 & 9.

Set up code is attached.

Attachments (1)

sample_grid.txt (1.3 KB) - added by kdugg 8 years ago.
Sample set up of grid

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by kdugg

Attachment: sample_grid.txt added

Sample set up of grid

comment:1 Changed 8 years ago by Evan

Owner: changed from evan to Evan

comment:2 Changed 7 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:3 Changed 7 years ago by bill

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