Add additional filter drop-down to same line as dataTable search
Add additional filter drop-down to same line as dataTable search
AmenRa
Posts: 7Questions: 1Answers: 0
I have a dataTable (v 1.9) in where I have an additional 'filter' using a drop-down. However, the additional filter appears on a line above the dataTables 'Search' option. I would like the two to be on the same 'line'. I can't seem to figure out how to accomplish this. Anyone have a solution?
This discussion has been closed.
Answers
I think I know what you mean, but please post your sample code.
The application is using bootstrap 2.3.2.
So, the result looks like this (crude layout)
but I want the layout to look like this (same line):
And the code...
I don't know anything about bootstrap, but if it is a simple question of formatting the HTML in the cell, I'd use jQuery to move the DOM elements around. Can you post a couple of samples of the HTML for some cells?