#7963 closed defect (fixed)
Preserving value types in default grid editor
Reported by: | Kris Zyp | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX Grid | Version: | 1.2.0 |
Keywords: | Cc: | Bryan Forbes | |
Blocked By: | Blocking: |
Description
The default grid editor (dojox.grid.cells.Cell) should preserve value types when editing. If the current cell's value is a number prior to editing and a new number is entered the item's value should be updated to a number (not a string). The same should be true with dates. Also, I think the default editor should automatically use a checkbox when the provided value is a boolean.
Attachments (1)
Change History (6)
comment:1 Changed 11 years ago by
Component: | General → DojoX Grid |
---|
Changed 11 years ago by
Attachment: | datagrid.diff added |
---|
comment:2 Changed 11 years ago by
Just checked in a fix so value types are preserved. Will create a new editor for automatic widget/input type control based on value types (and maybe even schemas) in the future, possibly for 1.4 or 1.5.
comment:3 Changed 10 years ago by
Milestone: | 1.4 → future |
---|
comment:4 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I don't think we will do the auto-editor, I think retaining value type is enough.
comment:5 Changed 7 years ago by
Milestone: | future → 1.4 |
---|
Unclear when this was fixed but apparently for 1.4 or earlier.
Retains value types (no UI changes in this)