Opened 12 years ago

Closed 12 years ago

#4898 closed defect (fixed)

Sorting with named columns not supported

Reported by: Bryan Forbes Owned by: sorvell
Priority: high Milestone: 1.0
Component: DojoX Grid Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Although using named columns to reference properties on objects stored in dojox.grid.data.table is somewhat supported, sorting those columns is completely absent. This is because instead of using the column names that are specified in the structure passed to the grid, the model uses indexes to get the data to make the comparator function. For a 2d array, this is correct, but for a list of objects, this is wrong.

Change History (1)

comment:1 Changed 12 years ago by sjmiles

Resolution: fixed
Status: newclosed

(In [11347]) Support sorting on named columns, fixes #4898. Review test_dojo_data_model.html. Improve compatibility of Grid with Containers by rendering onShow (there is still a problem with content pane, see test_grid_layout.html).

Note: See TracTickets for help on using tickets.