I do not speak English.
Google Translate, the article, so please understand less.
I create from xml, java you’re using, as shown below
var xmlurl="testAction.do?mode=test_makeXML";
//mygrid.clearAll();
//mygrid.loadXML(xmlurl);
mygrid.clearAndLoad(xmlurl);
Values, there is no problem with it coming you well, but …
Switching pages too fast, all the grid before appearing on the screen when you move a page to
error type :loadxml
Incorrect XML error
That message appears.
In my opinion it is made. Xml pages before the error appears, I think it might move,
Currently, as shown below by searching out the error message did not
dhtmlxError.catchError("LoadXML",function(a,b,data){
});
But if you like that all the errors have come up negative loadmxl Is there another way you’re writing.
and more questions
<div id="gridbox" style="height:425px;"></div>
<div id="progressBar" style="margin:0;position:relative; padding-top:0px; margin:-150pt auto; visibility:hidden;width:200px;height:10px;background-color:white;">
<font size="1"></font>
</div>
<script>
var progressBar=document.getElementById("progressBar");
mygrid.attachEvent("onXLS",function(){
progressBar.innerHTML="<img src='img/loading2.gif'><br><font size='1'>Loading..</font>";
progressBar.style.visibility = "visible";
});
mygrid.attachEvent("onXLE",function(){
progressBar.style.visibility = "hidden";
if(this.getRowsNum() < 1){
progressBar.innerHTML="no data.";
progressBar.style.visibility = "visible";
}
});
</script>
Currently loaded in the above image before importing xml preceded,
If you do not see “no data” and have a message pop up,
How do you like that Is there a better way?
Again dugaeya para.
xml error message not to come out, and
loading img, “no Data” message to come out.
Hard to read posts, but basically what I’m saying I think you think you may recognize.
Thanks for coming to read this article, I wanted to get this problem solved