Pagination - dhtmlxgrid


Sir,



I had implemented dhtmlxgrid to load data dynamically. here is the coding



function gridLoad()
{
  mygrid = new dhtmlXGridObject(‘gridbox’);
 mygrid.imgURL = “<%=appPath%>/DHTMLX/imgs/”;
 mygrid.setStyle("",“font-family:verdana;font-size:8pt;”);
 mygrid.setHeader(“No,Client No,FullName,Type,City,State,PostalCode,Phone,Territory,Address”);
 mygrid.setSkin(“modern”);
  mygrid.setInitWidths(“35,75,150,50,100,50,100,100,50,135”);
 mygrid.setColAlign(“left,left,left,left,left,left,left,left,left,left”);
 mygrid.setColTypes(“ro,ro,ro,ro,ro,ro,ro,ro,ro,ro”);
  mygrid.loadXML("<%=appPath%>/clc/listpal.jsp",palback);
 mygrid.init();
}



 



I am correctly getting data’s loading in the grid. i want to give pagination . can u suggest me with example how to implement pagination in mygrid. Waiting for your reply



thanks.

You need
a) include dhtmlxgrid_pgn.js
b) add next command to the init
mygrid.enablePaging(…

dhtmlx.com/docs/products/dhtmlxG … 7532131000