Categories | Question details Back To List | ||
grid paging in accordion <html> <head> <title>Attach Accordion to Object</title> <script src="dhtmlxaccordion/codebase/dhtmlxcommon.js"></script> <script src="dhtmlxaccordion/codebase/dhtmlxaccordion.js"></script> <link rel="stylesheet" type="text/css" href="dhtmlxaccordion/codebase/skins/dhtmlxaccordion_dhx_blue.css"> <link rel="stylesheet" type="text/css" href="dhtmlxaccordion/codebase/skins/dhtmlxaccordion_standard.css"> <script src="dhtmlxWindows/codebase/dhtmlxwindows.js"></script> <link rel="stylesheet" type="text/css" href="dhtmlxWindows/codebase/dhtmlxwindows.css"> <link rel="stylesheet" type="text/css" href="dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_blue.css"> <link rel="stylesheet" type="text/css" href="dhtmlxWindows/codebase/skins/dhtmlxwindows_standard.css"> <script src="dhtmlxgrid/codebase/dhtmlxgrid.js"></script> <script src="dhtmlxgrid/codebase/dhtmlxgridcell.js"></script> <script src="dhtmlxgrid/codebase/ext/dhtmlxgrid_srnd.js"></script> <script src="dhtmlxgrid/codebase/ext/dhtmlxgrid_data.js"></script> <script src="dhtmlxgrid/codebase/ext/dhtmlxgrid_filter.js"></script> <script src="dhtmlxgrid/codebase/ext/dhtmlxgrid_pgn.js"></script> <link rel="STYLESHEET" type="text/css" href="dhtmlxgrid/codebase/dhtmlxgrid.css"> <link rel="STYLESHEET" type="text/css" href="dhtmlxgrid/codebase/dhtmlxgrid_skins.css"> <link rel="STYLESHEET" type="text/css" href="dhtmlxgrid/codebase/ext/dhtmlxgrid_pgn_bricks.css"> <style>.grid_hover {background-color:#FEAA0D;}</style> </head> <body style="width:100%; height:100%; margin:0px; overflow:hidden;"> <div id="accordObj" style="position:relative; left:0px; top:0px; width: 100%; height: 100%"></div> <script> var dhxAccord = new dhtmlXAccordion("accordObj"); dhxAccord.addItem("a1", "Operations Quick Glance"); dhxAccord.addItem("a2", "Infrastructure Quick Glance"); dhxAccord.openItem("a1"); var mygrid = dhxAccord.cells("a1").attachGrid(); mygrid.setImagePath("dhtmlxGrid/codebase/imgs/"); . . . mygrid.enablePaging(true,20,10,"pagingArea",true); mygrid.enableRowsHover(true,'grid_hover') mygrid.setSkin("light"); mygrid.setPagingSkin("bricks"); mygrid.init(); mygrid.enableSmartRendering(true,10); mygrid.csv.cell="|"; mygrid._csvAID=true; mygrid.load("exports.csv","csv"); </script> </body> </html> Answer posted by Alex (support) on Mar 09, 2009 07:59 Hello, So... What is the issue ? |