Login Register

(Solved) connect to grid onSet event programmatically

I'm trying to connect to a grid for the onSet event like this:

var gridEventHandler = {
onset: function(item,attr,oldVal,newVal) {}
}
dojo.connect(grid,'onSet',gridEventHandler,'onset');

The event handler does not fire. What am I doing wrong?

Isn't the "onSet" event in

Isn't the "onSet" event in the grid's store?

ah, thanks.

ah, thanks.