-
12 Jan 2010 8:02 PM #111
about Treeloader Parameters as Hash
about Treeloader Parameters as Hash
Firebug Info:Code:loader: new Ext.tree.TreeLoader({ directFn: Lauralxj.Method.GetTrees, paramsAsHash: true, //paramsOrder:['node','param1','param2'], listeners: { 'beforeload': function (loader, node) { this.baseParams.param1 = 'value1'; this.baseParams.param2 = 'value2'; } } }),
Server CodeCode:{"action":"Method","method":"GetTrees","data":["0",{"param1":"value1","param2":"value2"}],"type":"rpc" ,"tid":2}
HOW TO GET Parameter obj 'S VALUES? Thanks!Code:[DirectMethod] public JArray GetTrees(string ID,Object obj) { List<DirectTree> nodes = new List<DirectTree>(); for (int i = 1; i < 10; i++) { DirectTree node = new DirectTree(); node.id = i.ToString(); node.href = "#"; node.leaf = true; node.text = "逆ヘ" + p.Param1; nodes.Add(node); } return JArray.FromObject(nodes); }
-
15 Jan 2010 1:48 AM #112
Help
Help
Hi guys!
I'm developing a big ux component and i need some help.
Could someone give me a hand to this post?
http://www.extjs.com/forum/showthread.php?t=89742
I read all the forum thying to solve this but nothing really helps me.
Thank you guys!Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata
-
16 Jan 2010 6:37 AM #113
Hi Evant,
Any idea when you 0.7 is comming out?
Thanks!
-
21 Jan 2010 7:42 AM #114
Help
Help
I am with difficulties to implement yours branch in project Ext.Direct Router. Can help me?
-
22 Jan 2010 10:11 AM #115
Until absense of a good and more ExtJs supported grid paging example, here you can find a little example. It's not perfect but better than nothing and maybe you can learn from it.
-
22 Jan 2010 10:31 AM #116
Help with ComboBox and Ext.Direct
Help with ComboBox and Ext.Direct
-Gunmen
Tanks reply!
I've got a serious problem to fill a combobox by DirectStore.
C# Code:
Javascript Code:Code:[DirectMethod] public JArray CentroExpedicao() { //JObject test = new JObject( // new JProperty("value", "Teste do cacete!") //); JArray test = new JArray(new JObject( new JProperty("value", "caceteeeee") )); return test; }
Response:Code:var storeCentro = new Ext.data.DirectStore({ storeId: 'open-tickets', directFn: MyApp.Handler1.CentroExpedicao, writer: new Ext.data.JsonWriter({encode:true}), reader: new Ext.data.ArrayReader({ fields: ['value'] }), idProperty: 'value', fields: ['value'] }); new Ext.form.ComboBox({ fieldLabel: 'Centro de Expediçao', name: 'ddlCentroExpedicao', id: 'ddlCentroExpedicao', displayField: 'value', valueField:'value', typeAhead: true, triggerAction: 'all', mode: 'remote', emptyText: 'Escolha o Centro de Expedição...', store: storeCentro })
In the ComboBox appear:Code:{"type":"rpc","tid":2,"action":"Handler1","method":"CentroExpedicao","result":[{"value":"caceteeeee"}],"message":null}

Can someone help me!


-
7 Feb 2010 5:18 AM #117
Is ExtJs or Evan Trimboli still supporting this thread / .NET Router implementation?
Thank you very much!
-
7 Feb 2010 4:31 PM #118
Yes, it's still being supported.
It has nothing to do with direct, looks like your reader definition is incorrect.Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
8 Feb 2010 1:49 AM #119
Okay, good to know that you are still online and that you not close an eye on our struggles.

-
8 Feb 2010 12:50 PM #120
To everybody,
Did someone test the Evan's Group.ashx example in combination with an extjs application? There is no official example and I can't get it to work.
Thanks!


Reply With Quote