PDA

View Full Version : Waiting for grids load to launch process



dblv
7 Nov 2013, 7:50 AM
Hi,
I have a form with 5 grids (in MVC mode).
I need to know when the first 4 grids are completly loaded to execute an Ext.Ajax.request wich load some data to select items in and use this datas as filter to launch the load of the 5th grid.

How can I do that ?

I hope it's clear, my English is very bad...

mazhar.shaikh
11 Nov 2013, 5:07 PM
You could possibly check for the top 4 grids store's write event.


store.on('write', this.SomeFunctionFor5thGrid());

You should probably have values in the


store.proxy.reader.rawData;