Opened 9 years ago
Closed 9 years ago
#13882 closed defect (fixed)
Grid editable - inconsistent behavior of dojox.grid.cells.Select when options[] and values[] both provided
Reported by: | Evan | Owned by: | Evan |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Grid | Version: | 1.7.0b1 |
Keywords: | grid, edit, select, options, values | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
When options[] and values[] are both provided, the behavior of editable cell(dojox.grid.cells.Select) is inconsistent across 'display' and 'editing' state, steps to see the issue:
- Open dojox/grid/tests/test_data_grid_edit.html
- Change the 2nd <th> to
<th field="type" width="auto" cellType="dojox.grid.cells.Select" values="country,city,continent" options="countryLabel,cityLabel,continentLabel" editable="true">Type</th>
- In that way we suppose "countryLabel,cityLabel,continentLabel" will be used for display in view, and "country,city,continent" are values in datastore.
- But the observation is incorrect - after a change is saved, options[] will always be disregarded and only values[] is used in both display and editing state.
Change History (2)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In [26521]: