Opened 10 years ago

Closed 6 years ago

#9579 closed defect (patchwelcome)

dataGrid marks cells as dirty when editing finishes though value isn't changed

Reported by: Ganeshpuri Owned by: Bryan Forbes
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.3.1
Keywords: dataGrid grid edit cell dirty setValue Cc:
Blocked By: Blocking:

Description

When editing of a cell ends and the value has remained the same the store's setValue shouldn't be called.

Quoting jared.jurkiewicz@… and james.devine@… from the dojo-interest list:

It's not IFWS, the store will only mark dirty if someone calls setValue, so I'm assuming the grid is calling setValue. the grid shouldn't be doing that if the value hadn't changed.

-- Jared

On Mon, Jul 20, 2009 at 4:00 PM, Devine, James<james.devine@…> wrote:

When I tab into and out of a DataGrid? cell, the ItemFileWriteStore? is being marked as dirty. This happens even if I do not change the value. Does anyone have any pointers on where to start to override this behavior? I'm assuming I need to extend the ItemFileWriteStore?, but curious to hear if others have already done something similar.

Thanks, Jim

Change History (3)

comment:1 Changed 10 years ago by Nathan Toone

Type: enhancementdefect

comment:2 Changed 6 years ago by bill

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.

comment:3 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.