9 Jul 2008 1:53 PM #1
Does anyone know on how to apply a page mask during page loading once a submit button is clicked?
I have 2 grids on the page and I want to apply page masking until loading of the two tables are completed.
9 Jul 2008 4:18 PM #2
9 Jul 2008 5:42 PM #3
Thanks for your reply.
What I mean is, if i put this code in the Submit Button handler:
The loading message doesn't appear because extjs is asynchronous. It executes the unmask() statement even before the PopulateGrids() finished its execution.
I hope someone can help me with this.
9 Jul 2008 6:25 PM #4
9 Jul 2008 6:48 PM #5
9 Jul 2008 8:53 PM #6
Thanks again for your reply.
Yes, I have tried that. But as what I've mentioned before in post, I have two grids. Is there a way where I can check that BOTH grids have completed loading? After the've loaded successfully that's when I'll do the unmasking.
I really appreciate your continous reply on this.
9 Jul 2008 9:13 PM #7
Thanks JGarcia! I'll just put the unmask on one of the datastore for now since both of them almost finished loading at the same time!
I really appreciate your help!!