Hai, i'm a newbie in ext js and ext direct. i'm doing a simple project that needs CRUD operations.
I use ext direct for calling the server-side method. but i got a problem.
Here my simple code. when i run it, error in firebug is
"too much recursion" ext-all-debug.js (line 4238}else if(Ext.isArray(o)){

please help me...

var phonebookStore = new Ext.data.DirectStore({
storeId: 'Phonebook',
api: {
read: Example.Phonebook.get
},
paramsAsHash: false,

reader: new Ext.data.JsonReader({
fields: ['nik','id_level'],
root: 'data',
}),
});

panel1 = new Ext.grid.GridPanel({
title:'Movies',
store:phonebookStore,
columns:[
{header:"NIK", width:30, dataIndex:'nik'},
{header:"ID_LEVEL", width:180,dataIndex:'id_level'}],
});

Ext.onReady(function(){

new Ext.Viewport({
layout: 'border',
items: [
{
region:'north',
xtype:'box',
el:'header',
hight:100,
},

{
region: 'west',
xtype: 'treepanel',
id: 'sms-tree',
split: true,
collapsible: false,
collapseMode: 'mini',
title: 'Menu',
bodyStyle:'padding:5px;',
width: 200,
minSize: 200,
autoScroll:true,
animate:true,
enableDD:true,
containerScroll:true,
dataUrl: './resources/php/tree-nodes.php',
root:{
nodeType: 'async',
text: 'SMS',
draggable: false,
id: 'mailbox'
}
},

{
region: 'center',
border:'false',
layout:'fit',
xtype: 'panel',
items: [panel1]
}
]
});

phonebookStore.load({
params:{start:0, limit:20}})

Ext.getCmp('sms-tree').getRootNode().expand();

});