Changes between Initial Version and Version 1 of Ticket #6730


Ignore:
Timestamp:
May 11, 2008, 6:26:21 PM (12 years ago)
Author:
John Locke
Comment:

Corrected module definition for Bool.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6730 – Description

    initial v1  
    11When hooking a grid up to a DojoData store, you can have columns that do not correspond to data fields. While you can set the values of these columns using get and/or formatter functions, you can't do anything to capture the results of editing.
    22
    3 Specifically, capturing a change of a checkbox (dojox.data.editors.Bool) is not possible from the grid definition.
     3Specifically, capturing a change of a checkbox (dojox.grid.editors.Bool) is not possible from the grid definition.
    44
    55For this specific editor, changing the dojox.grid.editors.AlwaysOn definition to call the cell.applyEdit instead of the grid.edit.applyCellEdit allows you to override cell.applyEdit (which calls grid.edit.applyCellEdit) provides for a nice extension point. With this change, I can provide an "applyEdit" parameter in the view, and capture the change in the checkbox without it going back to the model.