Opened 11 years ago
Closed 7 years ago
#8263 closed defect (invalid)
[patch]dojox.grid.DataGrid does not honor sortDesc of cell
Reported by: | rjones | Owned by: | rjones |
---|---|---|---|
Priority: | blocker | Milestone: | future |
Component: | DojoX Grid | Version: | 1.2.2 |
Keywords: | Grid | Cc: | |
Blocked By: | Blocking: |
Description
ticket #6545 says that sortDesc has been added to structure cells, but sortDesc is not honored when the grid is created. Calling grid.getSortIndex() returns -1 when based on the defined structure it should return 1.
For example see http://www.sitepen.com/labs/code/grid/new_grid_features/border_container.html from http://www.sitepen.com/blog/2008/10/22/new-features-in-dojo-grid-12/.
Example is using 1.2.0 but I've also verified the same behavior in 1.2.3 using aol cdn. NOTE 1.2.3 is not an option for version.
Attachments (1)
Change History (7)
comment:1 Changed 11 years ago by
Milestone: | tbd → future |
---|
comment:2 Changed 9 years ago by
Changed 9 years ago by
Attachment: | datagrid-#8263.patch added |
---|
comment:3 Changed 9 years ago by
Summary: | dojox.grid.DataGrid does not honor sortDesc of cell → [patch]dojox.grid.DataGrid does not honor sortDesc of cell |
---|
comment:5 Changed 7 years ago by
Owner: | changed from Bryan Forbes to rjones |
---|---|
Status: | new → pending |
dojox/grid is now fully deprecated and not being actively developed. If you are still interested in this patch, if you could get it to apply cleanly against trunk and we can get it applied.
comment:6 Changed 7 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
It's not clear whether the 'sortDesc' was effective in the example since that column was images.
The attached "datagrid-#8263.patch" might be a better way for setting default single sorting order for a column, e.g.