Bootstrap .table-responsive not working with firefox

Bootstrap .table-responsive not working with firefox

belkabelka Posts: 2Questions: 1Answers: 1
edited April 2017 in Free community support

Hello,

I do not speak English well, I hope you understand me

I use the datatable with bootstrap style 3, besides I would like to thank the creator of the datatable.

My problem is that i use the .table-responsive class in order to have a scrollbar in the bottom of my datatable when i resize the windows, to do this i initialize the datatable with:

"DrawCallback": function (settings) {
If (! $ ("#tableResponse"). Parent () hasClass ("table-responsive")) {
$ Wrap ("

<

div class = 'table-responsive'> </ div>");
}

It works fine with google chrome and internet explorer, but on firefox it does not work, I spent hours and hours searching for a solution, could anyone help me?

Thank you

This question has an accepted answers - jump to answer

Answers

  • belkabelka Posts: 2Questions: 1Answers: 1
    Answer ✓

    I found the solution on stackoverflow I post for those who have the same concern

    With firefox if the array is in a fieldset the .table-responsive class will not work

    Solution: Fix it by adding: display: table-cell; Width: 100% to fieldset

  • allanallan Posts: 63,116Questions: 1Answers: 10,397 Site admin

    Thanks for posting back. Good to hear you have it working.

    Allan

This discussion has been closed.