PDA

View Full Version : Tree problem(Urgent)



swathi.bogolu
25 Jan 2008, 6:13 AM
Hi All,
I have a tree on the lefthand side and that tree details will be there in the right hand side.If suppose Iam clicking on some node in the tree automatically I have to refresh the middle part.(i.e details part) without refreshing the tree becoz in the tree part I am using Ajax so refresh is not required for tree part.

any help????

Thanks in Advance.

Condor
25 Jan 2008, 6:54 AM
Example:


var tpl = new Ext.Template('Name: {name}<br>Value: {value}'); // only once

tpl.overwrite(centerpanel.body, node.attributes); // when selecting node

(assuming your node has extra data named 'name' and 'value')

swathi.bogolu
27 Jan 2008, 10:14 PM
Hi,
How to use this code. Is it in tree creation??

Thanks in Advance