I'm converting a Dojo 1.6.1 DataGrid example to use the AMD loader in Dojo 1.7, and try and do things the "1.7 way".
Currently, I have dojo.connect(grid, "onApplyEdit", applyEdit);
but I'd like to convert this to use dojo/on.
I thought a simple conversion to on(grid, "onApplyEdit", applyEdit);
might work, but it does not.
I've noticed for some of the on() examples, the event names are regular dom events, like click.
Have the event names for the grid changed, or is dojo/on just not ready to handle non-DOM events, or perhaps the DataGrid has not been updated to emit on() events?