Why has two requests as used DataProcessor

hello,
my code:
settings…
mygrid.loadXML(“myAction.do”, function() {

});
var mydp = new dataProcessor(“myAction.do”);
mydp.init(mygrid);
then,I refresh my page,it’s has two requests in one refreshed.
1st:http://localhost:8080/myHtml/myAction.do?dhxr1440236597961=1
2nd:http://localhost:8080/myHtml/myAction.do?connector=true&dhx_no_header=1&posStart=50&count=47&dhxr1440236598022=1

Why?How can I do,it’s only one’s request.

Check the server side code
It seems you have a dynamic loading enabled, and during the first loading call, server side returns only 50 rows of data which is not enough, so client side asks extra data.

You can change the amount of rows that is loaded during the initial data loading, or fully disable the dynamic loading feature ( in such case all data will be loaded as part of the first request )