Bootstrap collapse within table/between table rows not working

拥有回忆 提交于 2019-11-30 16:14:08

Hi I'm sorry I won't have a satisfying answer. It is not allowed to have anything other than <tr> elements as descendants of <tbody> so your HTML is not valid. This is what causes the glitchy behavior. Your best bet is to wrap every part of your form in a new table element.

To collapse a table row, you should write extra css for the collapsed row:

table .collapse.in {
    display: table-row !important;
}

It will fix the display issue after the row expanded.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!