【问题标题】:Error using Editable extension of Bootstrap-Table使用 Bootstrap-Table 的可编辑扩展时出错
【发布时间】:2016-12-19 14:33:28
【问题描述】:

我在使用 https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/editable 的 wenzhixin Bootstrap-table 的可编辑扩展时遇到了一些问题。我刚刚决定使用这个扩展,因为我已经在我的项目中将 Bootstrap-table 用于其他目的。当我使用此可编辑扩展程序时,我在 Chrome 上收到以下控制台错误:

jquery.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined
at Function.each (jquery.min.js:2)
at BootstrapTable.initTable (bootstrap-table-editable.js:45)
at BootstrapTable.init (bootstrap-table.js:344)
at new BootstrapTable (bootstrap-table.js:126)
at HTMLTableElement.<anonymous> (bootstrap-table.js:2202)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at n.fn.init.$.fn.bootstrapTable (bootstrap-table.js:2179)
at HTMLDocument.<anonymous> (bootstrap-table.js:2219)
at j (jquery.min.js:2)

我无法理解可能是什么问题。我尝试查看http://issues.wenzhixin.net.cn/bootstrap-table/ 和https://github.com/wenzhixin/bootstrap-table-examples/blob/master/welcome.html 的文档和示例。此外,我还在@987654324 的引导表示例的github 存储库中查看了问题@

【问题讨论】:

    标签: jquery x-editable bootstrap-table


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2015-12-06
    • 1970-01-01
    • 2021-08-24
    • 1970-01-01
    • 1970-01-01
    • 2020-03-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多