I have a panel
that is collapsible
but by default its collapsed
until the user selects an element in the view.
In my controller, when the user clicks on an element I listen to the event and then I do the following:
.....
pnlDetail.expand(true);
pnlDetail.setLoading('Loading details...');
.....
But the panel never shows the loading mask. Seems that it has to wait until the panel is fully expanded.
So I then try the following:
pnlDetail.expand(true);
Ext.Function.defer(function() {
pnlDetail.setLoading('Loading details...');
}, 500);
This time the panel show the loading mask.
Any clue why this happens? Is this an Issue or something I can workaround?