I have total 2000 records, and set each page cout=20, but “recinfoArea” always shows
【 1(page) Records from 1 to 20 of 20 】,why? Here is my code:
dynscroll_my_json.php
<?php
header("Content-type: application/json");
//$_GET['posStart'];
if(isset($_GET["posStart"]))
$posStart = $_GET['posStart'];
else
$posStart = 0;
?>
{total_count:2000,
pos:<?php echo $posStart;?>,
rows:[
{id:<?php echo $posStart;?>,
data:[“1000”, “Blood and Smoke”]
}
<?php
for($i=1; $i<20; $i++){
?>
,{id:<?php echo ($i+$posStart);?>,
data:["1000", "Blood and Smoke"]
}
<?php
}
?>
]}
html
Be sure to include
ext/dhtmlxgrid_json.js
without it, grid will support only basic json loading modes.
But dhtmlxgrid_json.js is not available in latest version download is it?? I dont have it.
Olga
#5
dhtmlxgrid_json.js is available in pro version only
Oh thanks for clarifying… Now I understand dynamic smart rendering for will not work in free edition, when we use JSON to load data.
Similarly I found that getting style attribute, userdata from json also does not work in free edition, is that correct?
Also is there a place where you guys list what all features will not be available when we use JSON to load data in Grid ?
Thanks in advance.