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
pkduer
Posts: 1Questions: 0Answers: 0
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]
[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]
This discussion has been closed.
Replies
try some of the float types for your css definitions, i.e. { float: left }