我正在使用 Handsontable 和 jsfiddle http://jsfiddle.net/kc11/o4d6gr6n/2/ 。我正在尝试动态加载数据并设置列标题名称。显然数据没有加载。当我运行 jshint 时,我得到:
Uncaught TypeError: Cannot read property 'identifier' of undefined
我该如何解决这个问题?
最佳答案
跳出来的一件事是在你的 dataDump 函数中你有
console.log('data of ' + name, hot.getData());
但你的表名为 hot1,所以它应该是
console.log('data of ' + name, hot1.getData());
关于javascript - Handsontable 未加载动态创建的列标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27787670/