Horizontal form not displaying correctly in child element (bootstrap)
Horizontal form not displaying correctly in child element (bootstrap)
ult.nrg
Posts: 2Questions: 1Answers: 0
I manually generate a form in a child element of my datatable. The form class is form-horizontal.
It wasn't displaying correctly until I removed the culprit.
I found the following line was throwing it out of place:
Line 58 in dataTables.bootstrap.js:
sWrapper: "dataTables_wrapper form-inline dt-bootstrap",
Updated to:
sWrapper: "dataTables_wrapper dt-bootstrap",
I've removed form-inline.
Just wondering if there is anyway to get it working without altering the DT code?
Thanks.
This discussion has been closed.