Hi,
i am using dhtmlxfolders in a test application. i need to detect when the xml file has fully loaded.
i have tried using the onXMLLoadingEnd event but it is not being fired. what is going on?
i am using the current version as of today 12/11/2008 that is
dhtmlxSuite 2008 Rel.3 (DHTMLX 2.0) Standard edition build 81009
here is a sample of my code
function showOtherViews()
{
myFolders = myLayout.cells(“a”).attachFolders();
myFolders.setItemTagName(“row”);
myFolders.enableSelection(true);
myFolders.clearAll();
myFolders.loadXML(“superSummaryXML.php”);
if(gl_view_type==“icons”)
{
myFolders.setItemType(“js_generic”,rendFuncIcons);
myFolders.setCSSBaseName(“ficon”);
}
else if(gl_view_type==“tiles”)
{
myFolders.setItemType(“js_generic”,rendFuncTiles);
myFolders.setCSSBaseName(“ftiles”);
}
myFolders.attachEvent(“onXMLLoadingEnd”,function()
{
checkMainLoaded();
});
myFolders.attachEvent(“onclick”,function(id)
{
alert("Clicked on: " + id);
});
}
please assist
Issue confirmed ( situation occurs only for “js_generic” items )
Updated js file attached to the post.
dhtmlxfolders.zip (11.3 KB)