Hi dear dhtmlx team
I’m developing web application with dhtmlxgrid component.
Dhmlxgrid smart rendering occurs error when scrolling to several times.
I attach a error image.
Internet Explorer 11 is the test environment.
best regards
Hi dear dhtmlx team
I’m developing web application with dhtmlxgrid component.
Dhmlxgrid smart rendering occurs error when scrolling to several times.
I attach a error image.
Internet Explorer 11 is the test environment.
best regards
Unfortunately the issue cannot be reconstructed locally.
If the error still occurs for you, please, provide with any kind of sample of your code with the init of your grid.
HI
I attach my grid sources.
Thank you for your help.
var mygrid;
$(document).ready(function(){
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("${contextPath}/component/dhtmlx/dhtmlxGrid/codebase/imgs/");
mygrid.setHeader("팀,업무영역,구분,유형,프로그램ID,프로그램명,개발,#cspan,#cspan,#cspan,#cspan,단위테스트,팝업여부,난이도,개발차수,IF구분,추가일자,삭제일자,비고,설계ID");
mygrid.attachHeader(["#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "개발자", "계획", "#cspan", "실정", "#cspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan"]);
mygrid.attachHeader(["#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "담당자", "시작일", "완료일", "시작일", "완료일", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan", "#rspan"]);
// filtering (SmartRendering)
//mygrid.attachHeader(" ,#text_filter,#select_filter, ,#cspan, ");
mygrid.setInitWidths("80,80,50,80,100,100,50,80,80,80,80,100,80,50,80,50,80,80,80,100");
mygrid.setColAlign("center,center,center,center,left,left,center,center,center,center,center,left,center,center,center,center,center,center,left,left");
mygrid.setColTypes("ed,ed,txt,ed,ed");
mygrid.setColSorting("str,str,str,str,str");
mygrid.setSkin("dhx_skyblue");
mygrid.attachEvent("onScroll", doOnScroll);
mygrid.attachEvent("onXLE", doOnXLE);
mygrid.init();
// footer
mygrid.attachFooter("<div id=combo></div>,#cspan,current top data : <div id=currentData style='float:right;'>0</div>,#cspan,#cspan,#cspan,<div id=loadData>0</div>,#cspan,of,<div id=totalData>0</div>,#cspan");
// footer comboBox init
window.dhx_globalImgPath="${contextPath}/component/dhtmlx/dhtmlxCombo/codebase/imgs/";
var comboBox = new dhtmlXCombo("combo", "alfa1", 80);
comboBox.addOption([[50, 50], [100, 100], [150, 150], [200, 200]]);
comboBox.setComboValue("50");
comboBox.attachEvent("onChange", doOnChange);
// Smart rendering
mygrid.enableSmartRendering(true, comboBox.getSelectedValue());
// json data 호출
mygrid.load("/adams/nds/test/returnData.do","json");
});
Unfortunately the issue still cannot be reproduced locally.
Please, note, that the number of columns in attachHeader, setInitWidths, setColAlign, setColTypes, setColSorting methods should be equal to the number of columns in the setHeader method.
If issue still occurs for you, please, provide with a complete demo or the demo link, where the issue can be reconstructed.
Here you can find a tutorial about creating a complete demo:
docs.dhtmlx.com/doku.php?id=othe … leted_demo