Elfayer
24 Sep 2012, 11:44 PM
Hi,
I have that Model:
Ext.define('EXC.model.TreeStore', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'int' },
{ name: 'name', type: 'string' },
{ name: 'leaf', type: 'bool' }
],
proxy: {
type: 'ajax',
actionMethods: {
read: 'POST'
},
api: {
read: '/File/GetFile/'
}
}
});
And I would like to know how can I get the id of an expended node of my treeStore.
I tried :
long id = Convert.ToInt64(Request.Form["id"]);
But that always return 0.
I have that Model:
Ext.define('EXC.model.TreeStore', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'int' },
{ name: 'name', type: 'string' },
{ name: 'leaf', type: 'bool' }
],
proxy: {
type: 'ajax',
actionMethods: {
read: 'POST'
},
api: {
read: '/File/GetFile/'
}
}
});
And I would like to know how can I get the id of an expended node of my treeStore.
I tried :
long id = Convert.ToInt64(Request.Form["id"]);
But that always return 0.