How can I get my custom filter and the standard search text box to show on the same line

How can I get my custom filter and the standard search text box to show on the same line

pkduerpkduer Posts: 1Questions: 0Answers: 0
edited July 2013 in DataTables 1.9
I am trying to get a custom filter and the search box to appear on the same line above the table, but they keep appearing on two separate lines, how do I force them together?
[code] var oTable;
$(document).ready(function(){
oTable = $('#example').dataTable( {
"bProcessing": true,
"bPaginate": false,
"sAjaxSource": '/ria/LMPTable.aspx?query=table',
"aoColumns": [
/* Region */ { "bSearchable": false,
"bVisible": false},
{ sClass: "alignleft"},
null,
null,
{ sClass: "redtext"},
null,
null,
{ sClass: "redtext"},
null,
null,
{ sClass: "redtext"},
null,
null,
{ sClass: "redtext"}
],
"sDom": 'r<"toolbar">fti'
} );
$("div.toolbar").html("All  Midwest  South"); [/code]

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    it will be a matter of CSS styling your divs so they are no longer "block" types that push each other to a next line.

    try some of the float types for your css definitions, i.e. { float: left }
This discussion has been closed.