Morning,
I'm working on loading sub-projects (which works now...)
My technique is simple:
1: execute cm.load with some extra parameters to get the data of the sub-project
2: in beforeloadapply manually load the data on the right spot and return false...
This works fine, but the loadmask keeps active. To prevent his, I had to add a callback function in cm.load() and execute the following two commands:
cm.activeRequests.load && cm.cancelRequest(cm.activeRequests.load.desc);
cm.fireEvent('loadcanceled', cm);
Is this the right way or am I missing a step.
Arno
Yes that makes sense. I've made a ticket for this: https://app.assembla.com/spaces/bryntum/tickets/9671-loading-mask-stays-displayed-if-crud-manager-beforeloadapply-listener-returns-fa
Thank you for the feedback!