Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ramakrishna on Oct 31, 2008 06:36
open dhtmlx forum
DHX Layout: Attaching the comp[onent on the fly

Hi there,
Suppose I attach a component say Tree to one of the cell while writing the layout code, then can I attach the grid component to the same cell where tree was attached on the fly or on some event or on clicking the hyperlink ?????
Answer posted by Support on Oct 31, 2008 07:53
Hello,

yes you can but any component attached before will removed.
Answer posted by Tejas Shah on Nov 02, 2008 21:12
Hi there,
            Can you help me with some example ??
Answer posted by Support on Nov 05, 2008 05:12
Yes, it is possible.

dhxLayout.cells("a").attachTree();

then any event for example can call:

dhxLayout.cells("a").attachGrid();