<link rel="STYLESHEET" type="text/css" href="../../../dhtmlxGrid/codebase/dhtmlxgrid.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css">
<script src="../../../dhtmlxGrid/codebase/dhtmlxcommon.js"></script>
<script src="../../../dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="../../../dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js"></script>
<script src="../../../dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
<script type="text/javascript" src="../../codebase/datastore.js"></script>
<div id="gridbox2" style="width:600px; height:270px; background-color:white;"></div>
<input type="button" value='next' onclick='show_next()'>
<script>var data = new dhtmlXDataStore({
url: "../common/data/data.json",
ready: function() {
data.setCursor(data.first());
},
datatype: "json";
});
function show_next() {
data.setCursor(data.next(data.getCursor()));
}
mygrid2 = new dhtmlXGridObject('gridbox2');
mygrid2.setImagePath("../../../../../../codebase/imgs/");
mygrid2.setSkin("dhx_skyblue");
mygrid2.setHeader("Count,Name");
mygrid2.init();
mygrid2.dataFeed("../common/data/grid.php");
mygrid2.bind(data, function(data, filter) {
filter.name = data.Maintainer;
});
</script>