Service_Call_Two :(Need to pass "id" and "key" for fetching data)
Say with id=101 and key=1001
I want all the First Level of Nodes to be rendered using Service_Call_One + John
Now, When user expands any of the Node, I want to make Service_Call_Two with "id" and "key"as parameters of John.
If user expands John - John
---> + Jr John
Service_Call_Two has to be made recursively when user expands from Second Level (Jr John).
-----> - Jr John
----------> + John's Grand Children
When user expands John's Grand Children, Service_Call_Two has to be invoked and response (name) has to be appended to the parent node.
I am able to render First Level Nodes, I am adding the Second Level Nodes in "afterItemExpand" event.
using Ajax request. In the "success" function I am parsing the response data and appending it as Second Level Node using "node.appendChild" method.
Problem 1:When I tried to expand the Second Level Node i.e. Jr John, I am not able to append the response data to the expanded Node.
Expected: As I had attached "afteritemExpand" eventhandler to the TreePanel. Service_Call_Two has to be invoked and response data has to be appended to the expanded parent node (Jr John).
Observed: First Level of Nodes are being appended to the Second Level Node's children
-----> - Jr John
----------->+ John //Expected John's Grand Children
Store : TreeStore
type : ajax
I am binding the above TreeStore to TreePanel to render first level nodes.
Thanks in advance.
Last edited by muralic; 8 May 2013 at 10:08 AM.
I could found the solution for this. I was missing the parameters to be passed for rendering the third level nodes.
but now the problem is duplicate nodes are getting created when a node is expanded.
Experience the same error. BeforeItemExpand event is being used to render the children when the node is expanded. But the duplicate children are being added. Exactly the same issue as posted in this thread.
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."