dhtmlxDataStore cant attach handler to onStoreUpdated event.

Hi, i’m trying to listen to the “onStoreUpdated” event on the datastore, but it doesn’t seem to be called.

I took the sample at samples/dhtmlxDataStore/03_dynloading/03_grid_dynsrnd.html. I tried to attach a handler like this:

     function(id, data, mode) {
         console.log("StoreUpdated :D");
         return true;

When I change the data on any of the grids, it is never called.

Somehow, if do:

data.callEvent("onStoreUpdated", ["arguments", "dont", "matter"]);

The event fires and I get the expected output.
I think this may be a bug on the dataStore. Am I doing something wrong?.

Thank you.

Sorry, I just noticed that this is posted in the wrong place :c, it says “do not post new questions here”.

Hello, manup
You can post this question here: