How can I support a custom bootstrap grid?
How can I support a custom bootstrap grid?
radisb
Posts: 6Questions: 2Answers: 0
I am using bootstrap but I have customized it to have 20 grid columns instead of the default 12. DataTables wraps my table in a <div class="col-sm-12">
element. Is there a datatables option to change that to col-sm-20
? If not what would you suggest? Thank you.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You'd need to use the
dom
option to provide your own custom DOM layout for DataTables. The default for Bootstrap is shown on thedom
page - you could just modify that as you need.Allan