Opened 8 years ago
Closed 7 years ago
#17086 closed defect (patchwelcome)
EnhancedGrid only sortable on first column
Reported by: | fditw | Owned by: | Evan |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.9.0rc2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
EnhancedGrid? only allows sorting on the first column. Click action on other columns is being treated as a resize column action. Works fine with DataGrid?, appears to only be affecting EnhancedGrid?.
var testGridData=[ { myKey: 1, myType: "fruit", myCol3: "a"}, { myKey: 2, myType: "veg", myCol3: "b"}, { myKey: 3, myType: "meat", myCol3: "c"} ]; var myStore=new ObjectStore({objectStore: new MemoryStore({data:testGridData, idProperty: "myKey"})}); var testGridParams ={ structure: [ { name: 'key', field: 'myKey'}, { name: 'type', field: 'myType'}, { name: 'col3', field: 'myCol3'} ], store: myStore };
Change History (5)
comment:2 Changed 8 years ago by
Only seems to be occurring in Firefox (20.0.1)...Chrome & IE appear to function as desired.
comment:3 Changed 8 years ago by
The version I'm currently using, dojo 1.8.0, also does not seem to be affected. Only when testing with 1.9.0rc2. I haven't tried any versions between.
comment:4 Changed 8 years ago by
jsFiddle with example, using Dojo (nightly): http://jsfiddle.net/2bbbP/
Changing to version 1.8.3 resolves the issue.
comment:5 Changed 7 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
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.