Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by liam on Oct 21, 2009 07:32
open dhtmlx forum
displaying progress easily in a layout cell

I have an a layout cell into which and I attach a url
is there an easy way to toggle progress on and off either side or attaching a url

i.e.
dhxLayout = new dhtmlXLayoutObject(document.body, "5H","dhx_skyblue");
....
dhxLayout.cells("b").setText("TEXT");

dhxLayout.cells("b").progressOn(); ????
dhxLayout.cells("b").attachURL("some url");
dhxLayout.cells("b").progressOff(); ???


I notice dhxWins has an onContentLoaded() event but layout does not seem to have one

any help would be great
Answer posted by Alex (support) on Oct 21, 2009 07:44

Layout provides onContentLoaded event too. But it is called only for Ajax loading as well as in case of dhtmlxWindows:

dhxLayout.cells("b").attachURL("some url",true); /*loading using Ajax*/

In case of loading into iframe: dhxLayout.cells("b").attachURL("some url"), layout doesn't provide a method to determine when loading is finished.