on property only available once per object?

I added a second event handler to a datatable and found that only the last handler is being evaluated, like at http://webix.com/snippet/670c2fea where only ‘onAfterColumnDrop’ is working, but never ‘onAfterSort’. If I move ‘onAfterSort’ below ‘onAfterColumnDrop’ then I get my sort action, but lose my column drop action. Is there a way to define both in my datatable object, or do I have to use $$(“datatable”).attachEvent to get more than one ‘on’ to work?

There must be only one on config section, but it may contains many event handlers

http://webix.com/snippet/f1fe978e

Thank you maksim. I thought it might be something like that, but all my own attempts at fixing it must have used incorrect syntax.