Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tim on Jul 26, 2009 20:58
open dhtmlx forum
loading msg while iframe content loading in tabbar

Hello,

I am using tabbar in iframes href mode. I want to load 6 different tabs completely and display a loading... message while they are loading. Does tabbar support onXLE and onXLS methods? Can you direct me on how to do this?

If I use ajax-html or ajax href mode, none of the pages load (maybe because some contain grids).
Answer posted by Alex (support) on Jul 27, 2009 01:27

Hello,

the tabbar onXLE event is called when the tabbar xml loading is loaded (for example this one - tabbar.loadXML("some.xml")).  

If the grids are loaded inside tabbars, you should use onXLS and onXLE events of grid. 

And moreover in case of using "ajax" loading mode the content is loaded using ajax onTabContentLoaded will be called:

tabbar.attachEvent("onTabContentLoaded",function(id){...})