How to align sSearch to the end of my table

How to align sSearch to the end of my table

imtdbimtdb Posts: 2Questions: 1Answers: 0

Hi, i'm trying to align the sSearch to the end of my table but i can't. I've tried using dom and modifyng my css but nothing works. Thanks in advance!

P.D: I've tried to upload the code to live.datatables.net but i'm getting all the data from firebase and the example will not be complete, so i'm attaching an image. I'm using responsive DataTables.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,174Questions: 26Answers: 4,923
    Answer ✓

    Guessing you need to add style="width:100%" to the table tag as shown in this example. If this doesn't help then there is something else in the styling of your page that needs changed. We will need to see the problem in order to help. You can simulate the data using Javascript like this example.

    Kevin

  • imtdbimtdb Posts: 2Questions: 1Answers: 0

    Adding style="width:100%" and deleting nowrap from boostrap classes solve the problem! Thanks!

This discussion has been closed.