Opened 11 years ago

Closed 7 years ago

Last modified 7 years ago

#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)

datagrid.diff (1.0 KB) - added by Kris Zyp 10 years ago.
Retains value types (no UI changes in this)

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by Kris Zyp

Component: GeneralDojoX Grid

Changed 10 years ago by Kris Zyp

Attachment: datagrid.diff added

Retains value types (no UI changes in this)

comment:2 Changed 10 years ago by Kris Zyp

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 Kris Zyp

Milestone: 1.4future

comment:4 Changed 7 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

I don't think we will do the auto-editor, I think retaining value type is enough.

comment:5 Changed 7 years ago by bill

Milestone: future1.4

Unclear when this was fixed but apparently for 1.4 or earlier.

Note: See TracTickets for help on using tickets.