Sorry, I couldn’t find a dhtmlxDataStore specific forum. Please move this to a better place if there’s one.
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:
data.attachEvent(
"onStoreUpdated",
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"]);
I’m attaching my modified 03_grid_dynsrnd.html file. Everything else it’s exactly as it was on the dhtmlxSuite samples.