Uncaught TypeError: Cannot read property 'field' of undefined
(anonymous function) @ bootstrap-table.min.js:7n.extend.each @ jquery.js:374n.fn.n.each @ jquery.js:139(anonymous function) @ bootstrap-table.min.js:7n.extend.each @ jquery.js:374n.fn.n.each @ jquery.js:139o.initTable @ bootstrap-table.min.js:7o.init @ bootstrap-table.min.js:7o @ bootstrap-table.min.js:7(anonymous function) @ bootstrap-table.min.js:8n.extend.each @ jquery.js:374n.fn.n.each @ jquery.js:139a.fn.bootstrapTable @ bootstrap-table.min.js:8(anonymous function) @ bootstrap-table.min.js:8n.Callbacks.j @ jquery.js:3099n.Callbacks.k.fireWith @ jquery.js:3211n.extend.ready @ jquery.js:3417I @ jquery.js:3433
I am new to bootstrap-table but when I included the bootstrap-table to my application
ex:
| -elements is unequal the number of | -elements
I got the same error message. I have @rachelluethi Please provide us an example using our online editor Reopened it for tracking purposes The problem was that colspan is not considered in Example:
@rachelluethi as already said, please provide a example using our editor. rowspan and colspan works in the thead, check this example: https://live.bootstrap-table.com/example/column-options/rowspan-colspan.html Thank you! Im not sure if we support colspan/rowspan on the tbody. @wenzhixin @djhvscf could you check this ? I think you can use the mergeCells method in order to do that
Duplicate of #4562 Adding my $0.02 worth:
This falls under @BeardyB 's comment above regarding unequal number of elements. Hope this helps someone. Was this page helpful?
0 / 5 - 0 ratings
Related issues |
|---|
Most helpful comment
Hey there,
I just finished troubleshooting this same issue, make sure your table includes table header and table body tags:
Sorted