dhtmlxConnector - unnecessary ajax calls to the server

Hi.

Our reference number is 293073425.
We are working with “dhtmlxGrid v.2.6 Professional edition build 100722” and java dhtmlxConnector to filter and sort on the server side:
mygrid2 = new dhtmlXGridObject(‘gridbox2’);
mygrid2.setImagePath(“js/DHTMLX/dhtmlxGrid/codebase/imgs/”);
mygrid2.setHeader(“CMPCamp, CMPTitulo”);
mygrid2.setInitWidths(“100,*”);
mygrid2.setColAlign(“right,left”);
mygrid2.setColTypes(“ro,ro”);
mygrid2.setColSorting(“int,str”);
mygrid2.init();
mygrid2.setSkin(“dhx_skyblue”);
mygrid2.attachHeader(“#connector_text_filter,#connector_text_filter”);
mygrid2.setColSorting(“connector,connector”);
mygrid2.enableSmartRendering(true, 50);
mygrid2.load(“jsp/campanias.jsp”, “xml”);

In “campanias.jsp” we are creating the xml without using the Connector classes. It’s returning the correct XML considering filtering values and sorting options.
Everything is working ok but we have noticed that the grid is making unnecessary ajax calls to the server:
- When the grid loads the fist time, it makes 2 calls:
minterlandipc:8080/cyclops/jsp/campanias.jsp
minterlandipc:8080/cyclops/jsp/c … 0&count=50

	¿Is the fist call necessary?
	¿Do we need to consider "connector=true" parameter in "campanias.jsp" to return or not the XML?

- When we use the scroll, it makes only one call:
	[minterlandipc:8080/cyclops/jsp/c ... 1&count=50](http://minterlandipc:8080/cyclops/jsp/campanias.jsp?connector=true&posStart=26401&count=50)
- When using the filters, sometimes the grid makes twice the same call:
	[minterlandipc:8080/cyclops/jsp/c ... dhx_filter](http://minterlandipc:8080/cyclops/jsp/campanias.jsp?connector=true&dhx_filter)[0]=264&dhx_filter[1]=&posStart=0&count=50
	[minterlandipc:8080/cyclops/jsp/c ... dhx_filter](http://minterlandipc:8080/cyclops/jsp/campanias.jsp?connector=true&dhx_filter)[0]=264&dhx_filter[1]=&posStart=0&count=50
	
	¿Is this correct? ¿Is there a way to make the grid call the server just once when filtering?
- When clicking in headers to sort, the grid is making 3 calls:
	[minterlandipc:8080/cyclops/jsp/c ... e&dhx_sort](http://minterlandipc:8080/cyclops/jsp/campanias.jsp?connector=true&dhx_sort)[0]=asc&dhx_filter[0]=264&dhx_filter[1]=
	[minterlandipc:8080/cyclops/jsp/c ... e&dhx_sort](http://minterlandipc:8080/cyclops/jsp/campanias.jsp?connector=true&dhx_sort)[0]=asc&dhx_filter[0]=264&dhx_filter[1]=&posStart=0&count=50
	[minterlandipc:8080/cyclops/jsp/c ... e&dhx_sort](http://minterlandipc:8080/cyclops/jsp/campanias.jsp?connector=true&dhx_sort)[0]=asc&dhx_filter[0]=264&dhx_filter[1]=&posStart=0&count=50

	¿Is this correct? ¿Is there a way to make the grid call the server just once when sorting?

¿Is it possible to sort and filter on the server side without the connector (having the filters and order selection in the header)?

Thank you very much!
Martín