Closed mlbaquerizo closed 6 years ago
Using the group-by extension (not v2), upon destroying and reloading the table again, i.e.
$table.bootstrapTable('destroy').bootstrapTable({ groupBy: "true", groupByField: ["group"] }).bootstrapTable('load', data);
the <span class="indenter"> element is duplicated for each row each time. I think this is a bug.
<span class="indenter">
See jsfiddle here. In this example the reload button above the table does the above code.
Work around would be to use removeAll instead of destroy and not reinitialize bootstrapTable. But what if I wanted/needed to use destroy?
Fixed by https://github.com/wenzhixin/bootstrap-table/commit/8944bb3bb447963f2cdeae326ba16561e95e3673: http://jsfiddle.net/wenyi/nd5usdn4/4/
Using the group-by extension (not v2), upon destroying and reloading the table again, i.e.
the
<span class="indenter">
element is duplicated for each row each time. I think this is a bug.See jsfiddle here. In this example the reload button above the table does the above code.
Work around would be to use removeAll instead of destroy and not reinitialize bootstrapTable. But what if I wanted/needed to use destroy?