Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raymond on Sep 22, 2008 05:06
open dhtmlx forum
Swinging between trees

As an example, using the architecture of the Documentation/Samples application where you have a tree in each tab and an OnClick will load a static html document into the iframe (name="sampleframe").

Is there a way to come back from the html document into either tree using tree.focusItem(itemId)?
Answer posted on Sep 23, 2008 00:38
You can reach the tree from another frame or iframe as any other DOM object. From within iframe in the case you've described: parent.tree