PDA

View Full Version : Use 2 or more Store for binding Grid



abhilashca
17 Apr 2011, 10:35 PM
Hello,

Recently I started using ExtJs Grid; must say Nice one :). I have one clarification regarding binding the ExtJs Grid store.

I've a Grid with Paging toolbar. When the page is rendered, I'm binding the Grid using ArrayStore as my DataStore. Now, since I've a paging toolbar, I want to use the "url" configuration to load the rest of the paging data via Ajax. In short, the very first binding of the Grid will be done using ArrayStore and the rest of the binding has to be done using Ajax.

Does mixing up of store for loading records possible? Does anyone has tried this kinda thing?

Any help will be appreciated.
Thanks