Tabulator.js - IE11 - "Error: Unspecified error. .."
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 }
有人有什么想法吗?
我试图显示一个空的 table (没有任何参数)——也有同样的问题。
如果您需要更多信息,请告诉我。
Tabulator v4.9.1
浏览器:IE 11
Windows 10
4.9 版中引入了一个回归,破坏了 IE 的功能,如果你下载最新版本,4.9.3 应该可以工作
我不知道这段代码有什么问题:
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 }
有人有什么想法吗? 我试图显示一个空的 table (没有任何参数)——也有同样的问题。 如果您需要更多信息,请告诉我。
Tabulator v4.9.1
浏览器:IE 11
Windows 10
4.9 版中引入了一个回归,破坏了 IE 的功能,如果你下载最新版本,4.9.3 应该可以工作