Is there an easy way to attach event handlers fro WebDataGrid events through CSOM (not in a declarative way)? For example EditingClientEvents.RowDeleted event.
What I want to achieve, is that different page features/behaviors must intercept certain WDG events to do some action. And that should happen alway when that feature is activated on the page (regardless if EditingClientEvents.RowDeleted is given on the source code).
I mean I don't want only attach one event handler to some events, but many of them and from different code parts.
I think I managed to find a way to achieve it (a little help from Firebug :).
Infragistics objects derive from Sys.UI.Component, so i can use:
grid.get_behaviors().get_editingCore().get_events().addHandler('RowAdding', function(sender, args) { // some code});