Categories | Question details Back To List | ||
enabling hourglass cursor when loading data drom xml We are using autocomplete mode loading data from an XML file, sometimes the file is huge and we need to show an hourglass cursor while loading and set it to default when loaded any suggestion would be appreciated Answer posted by Support on Apr 18, 2008 04:03 Combo doesn't provide any events for xml loading so effect can be achieved only by code modification dhtmlxCombo.js , line 718 xml.loadXML(url); /* any code which show loading image or change cursor state can be added here*/ dhtmlxCombo.js , line 738 dhtmlXCombo.prototype._fillFromXML = function(obj,b,c,d,xml){ /* any code which hide loading image or restore cursor state can be added here*/ Answer posted by ÜberRookie on Apr 24, 2009 11:13 besides i don't know what code to add...
adding anything behind xml.loadXML(url); will fail loading the combo. Answer posted by Support on Apr 25, 2009 05:28 Things improved a bit since original question, so current version of combo has event for xml loading start and end, so no customization necessary. You can use code similar to next var z = new dhtmlXCombo(... |