Hello;
I followed this exmaple : dhtmlx.com/docs/products/dhtmlxG … fetch.html, in order to construct a grid that works with smartrendering and dynamic loading. Currently my grid loads the first block of data from the xml file, but as i scroll down in the grid, a request is sent to retireve other blocks of data but postStart and count are not appended to the url as it’s mentioned in the documentation.
I compared my code to couple of tutorials from documentation, but i still can’t find what may cause this issue.
here is my doOnLoad function :
[code]
function doOnLoad(){
myGrid = new dhtmlXGridObject('gridbox');
myGrid.setHeader("Column A, Column B, Column C");
myGrid.setColAlign("left,left,left");
myGrid.setColTypes("ro,ed,ro");
myGrid.attachEvent("onXLS",function(){ document.getElementById("a_1").style.display="block"; });
myGrid.attachEvent("onXLE",function(){ document.getElementById("a_1").style.display="none"; });
myGrid.init();
myGrid.enableSmartRendering(true,50);
var url = "/applications/filao/refreshQueue/";
myGrid.load(url);
}[/code]
My first block of xml file received from server :
A Time to Kill John Grisham Blood and Smoke Stephen King The Rainmaker Stephen King A Time to Kill 12354 Blood and Smoke Stephen Kingdhtmlxgrid_pgn.js and dhtmlxgrid_srnd.js are both included.
Can you help me figure out what’s wrong with my code ?
I am using DHTMLX 3.6 Professional edition