Categories | Question details Back To List | ||
DHTMLX Grid : Paging not working properly in both Internet Explorer 6 (IE) & 7 Hi, I am facing problem in grid paging. It is not working properly in IE 6.0 and IE 7.0. The paging is not shown. I have written code something like this : var usergrid; usergrid = new dhtmlXGridObject('usergrid_container'); // usergrid.setImagePath("<c:out value="${path}"/>/js/dhtmlxGrid/codebase/imgs/"); usergrid.setHeader("Select,User ID,User Name,Email,Work Phone,Home Phone,Description,Status"); usergrid.setInitWidthsP("5,15,15,22,10,12,14,7"); usergrid.setColAlign("center,left,left,left,left,left,left,left"); usergrid.setSkin("light"); usergrid.setColTypes("ch,ro,ro,ro,ro,ro,ro,ro"); usergrid.setColSorting("int,str,str,str,str,str,str,str"); usergrid.enableTooltips("false,true,true,true,true,true,true,false"); usergrid.enablePaging(true,<s:property value="${defaultGridRows}" />,3,"pagingArea",true,"recinfoArea"); // This line is for simple paging, where pagingArea and recinfoArea are div Ids. usergrid.init(); usergrid.getSelectedRowId() usergrid.enableRowsHover(true,'grid_hover'); usergrid.enableResizing("false,false,false,false,false,false,false,false"); usergrid.enableAutoHeight(true, "100%", null); usergrid.enableAutoWidth(true, "100%", "100%"); usergrid.loadXML("<c:out value="${path}"/>/displayList.action"); Please help me with this. Answer posted by Support on Jul 10, 2008 02:35 The grid initialization code is correct and must not cause any problems, the only remark related to next code usergrid.enableAutoHeight(true, "100%", null); usergrid.enableAutoWidth(true, "100%", "100%"); If you want to use auto-height and auto-width without limitations just use usergrid.enableAutoHeight(true); usergrid.enableAutoWidth(true); without addiitional parameters. |