View Full Version : [Solved]DynamicGridPanel with DirectStore

10 Aug 2009, 7:43 AM
Hi !
I'm trying to do a dynamic GridPanel based on Erhan's : http://extjs.com/forum/showthread.php?t=58493

I want to use a DirectStore to have only an api configuration to my extension.

So the question is : How can I load metaData + Data from my server and get them to configure my store?

I tried this :

var rdg = new RemoteDataGrid({
ds:new Ext.data.DirectStore({
read : DataGridControler.loadData
My DataGridControler.loadData returns something like :
















The problem is that metachange event and load event are not fired. So I can't do anything when I get my object back from the server.

Can I change my meta using DirectStore in this way?

23 Sep 2009, 5:13 PM
Just looking for the solution to this [SOLVED] topic. Thanks.

23 Sep 2009, 5:14 PM
Oops ... found it .... guess its really tiny ..

25 Sep 2009, 5:22 AM
Would mind sharing it?