[英]Tabulator.js - IE11 - “Error: Unspecified error. ..”
我不知道這段代碼有什么問題:
import 'promise-polyfill/src/polyfill';
import Tabulator from 'tabulator-tables';
export default class Table {
constructor(tableElement) {
this.tableElemet = tableElement;
}
render(tableData, locale) {
const self = this;
this.table = new Tabulator(this.tableElement, {
locale: locale,
cellHozAlign: "right",
columns: this.columns(),
data: tableData,
layout: "fitColumns",
resizableColumns: false,
maxHeight: "500px",
pagination:"local",
paginationSize: 30,
paginationSizeSelector:[30, 50, 100, true],
langs: this.langs(),
downloadConfig: {
columnGroups: true
},
tableBuilt: function (){
self.modifyPagination(this.getPageMax());
}
});
}
//other functions
}
我正在使用 ES6。 僅在 IE 上出現錯誤:
Error: Unspecified error. {
[functions]: , __proto__: { },
description: "Unspecified error.",
message: "Unspecified error.",
name: "Error",
number: -2147467259,
stack: "Error: Unspecified error.
at RowManager.prototype.adjustTableSize (tabulator.js?v32:147:7)
at Anonymous function ({myFilePath}", Symbol()_6.e5wrk79qtse: undefined }
有人有什么想法嗎? 我試圖顯示一個空表(沒有任何參數) - 也有同樣的問題。 如果您需要更多信息,請告訴我。
制表器 v4.9.1
瀏覽器:IE 11
Windows 10
在 4.9 版本中引入了一個回歸,它破壞了 IE 功能,如果你拉下最新版本,4.9.3 它應該可以工作
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.