Add column class to elements like list or button group using bootstrap

Add column class to elements like list or button group using bootstrap

juanmajuanma 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

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    edited April 2018 Answer ✓

    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

  • juanmajuanma Posts: 2Questions: 1Answers: 0

    Thank you that did the trick!.

This discussion has been closed.