0
下面是我的功能問題是分頁不工作,如果我從all_cases.setColTypes(「樹,ch,ro,ro,ro,ro,鏈接,ro,鏈接,鏈接」)中刪除樹;或者我用鏈接或ro或ch取代樹,然後分頁工作,但我需要與樹分頁任何身體幫助我請什麼是錯誤是或我錯在哪裏。 功能loadAllCasesForOrthocaps(){DhtmlX樹分頁
all_cases = new dhtmlXGridObject("simorth_cases");
all_cases.setSkin('dhx_terrace');
all_cases.setImagePath(basepath+"common/js/imgs/");
all_cases.setColSorting("int,int,str,str,str,int,str,int,str");
all_cases.setHeader("S.No,,Case ID,Clinician Name,Patient Name,Progress,Case Date,Status, View");
all_cases.setInitWidths("100,50,90,180,140,140,175,200,*");
all_cases.setColTypes("tree,ch,ro,ro,ro,link,ro,link,link");
all_cases.enableMultiline(true);
all_cases.setColumnMinWidth(50, 0);
all_cases.attachEvent("onBeforeSorting", customOrthoColumnSort);
all_cases.setColSorting("str,na,server,server,server,server,server,na,na");
all_cases.enablePaging(true, 100, 100, "pagingArea");
all_cases.setPagingSkin("toolbar", "dhx_terrace");
all_cases.attachEvent("onXLS", function() {
document.getElementById('cover').style.display = 'block';
});
all_cases.attachEvent("onXLE", function() {
document.getElementById('cover').style.display = 'none';
});
all_cases.init();
all_cases.loadXML(basepath+'orguser/loadOrthoCases');
}