Opened 13 years ago
Closed 9 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 [email protected]… and [email protected]… 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<[email protected]…> 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 13 years ago by
Type: | enhancement → defect |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
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.