PDA

View Full Version : Load several grids at the same time.



ragecf
15 Jul 2013, 11:15 PM
Hi, all

I want to add several grids to a tab panel at the same time. Each tab contains one grid.

These grids have different data model. How to load the data from back end within one Ajax request?

Or load the store for each grid respectively?

Thanks.

slemmon
16 Jul 2013, 10:16 PM
You could use an Ext.Ajax.request() to fetch the data and then use each stores' loadRawData using the parts of the dataset from the request() meant for each store.

ragecf
16 Jul 2013, 11:58 PM
Thanks