Move searchbar on the left and make it occupy 100% of table's width
Move searchbar on the left and make it occupy 100% of table's width
![[Deleted User]](https://secure.gravatar.com/avatar/7d93c31ef681bfff2e11398169fc7196/?default=https%3A%2F%2Fvanillicon.com%2F7d93c31ef681bfff2e11398169fc7196_200.png&rating=g&size=120)
The user and all related content has been deleted.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
This is the CSS you'll want to make it 100% width:
http://live.datatables.net/levovefu/1/edit
I've also used placeholder text rather than a label outside of the input to allow it to be truly 100% width.
It does, but there is some padding-right which is knocking it off center. This is a workaround:
We need to update DataTables / Bootstrap styling to have that built in really (for columns which don't have sorting on them which is what is causing the issue here).
Allan
As Allan said, we'll need to update the styling. I've raised it internally (DD-1401 for my reference) and we'll report back here when there's an update.
Cheers,
Colin