Add column class to elements like list or button group using bootstrap
Add column class to elements like list or button group using bootstrap
juanma
Posts: 2Questions: 1Answers: 0
Hello,
I just started using datatables but my table looks like the screenshot below. And I think is because the grid system that bootstrap uses need to add class e.g col-sm-3 to list element and find, so both of them will be displayed in a single row. Do you know how to do this? or any other workaround?
Thanks,
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @juanma ,
This StackOverflow thread may help. If you look at the fiddle in the top answer, it's using those classes as you suggested, and they're lining up as expected.
Cheers,
Colin
Thank you that did the trick!.