Hi,
Im using dhtmlxGrid_v25_pro_90904-EVAL version. Here is my code to display grid in smart rendering mode:
mygrid = new dhtmlXGridObject(“workspace”);
mygrid.setImagePath(URL_DHTMLX+“codebase/imgs/”);
mygrid.setHeader(labels);
mygrid.setInitWidths(widths);
mygrid.init();
mygrid.setSkin(“dhx_skyblue”);
mygrid.enableSmartRendering(true);
var params = "“test=”+xzz;
mygrid.load(“GetDwJson.jsp?”+params, “json”);
The problem is
1. I don’t see “posStart” and “count” parameters in the request.
2. Though the JSON response includes proper headers with “total_count” and “pos” the grid behaves as if it is loaded with static datasource. i.e it is not making any new request to update it with new set of rows, even the scrollbar ends with first set of rows.
Plz let me know if im missing anything in the grid configuration.
Thanks!
Please check if you have included dhtmlxgrid_json.js file to your page.
I have included the dhtmlxgrid_json.js file now but then no effect. I have also tried with loading XML instead JSON it is also not working.
XML loaded:
<?xml version="1.0" encoding="UTF-8" ?>
65280
2006 100267 000 00 B1
2006-02-02 14:54:08
65280
2006 100279 000 00 B1
2006-02-06 11:43:23
Please try to download beta version of dhtmlxConnectors for Java dhtmlx.com/dhxdocs/doku.php?id=d … nector:toc
must be a
<rows total_count=“247” pos=“0”>
Yeah that solves the problem with XML!