Opened 6 years ago

Closed 6 years ago

#17446 closed defect (patchwelcome)

New datagrid rows are not formatted if they contain default values

Reported by: stelian56 Owned by:
Priority: undecided Milestone: tbd
Component: DojoX Grid Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:

Description

The attached script shows a grid with two columns, Volume and Date. Both columns have custom formatters. The existing two rows are properly formatted.

When the button is clicked, a new rows is added with default in it. The default values are 1000 and new Date(2013, 8, 18) respectively. However, the newly added row is unformatted.

On the other hand, if the new row has non-default values, say, 2000 and new Date(2012, 0, 1), both values show up in the correct format.

Attachments (1)

AddRowBug.html (2.6 KB) - added by stelian56 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by stelian56

Attachment: AddRowBug.html added

comment:1 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed

DojoX Grid and EnhancedGrid? are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

Note: See TracTickets for help on using tickets.