Search box length and location

Search box length and location

ken edwardsken edwards Posts: 5Questions: 1Answers: 0

Hi, I love datatables! it rocks.
I want to move the search box to be at the top left, or top middle. I also want the box to be longer. I have tried this, and it did not move the search to the left side.
$(document).ready(function() {
$('#example').dataTable( {
"dom":f '<"toolbar">rtip'
} );

$("div.toolbar").html('<b>Custom tool bar! Text/images etc.</b>');

} );

Help!

Replies

  • tangerinetangerine Posts: 3,342Questions: 35Answers: 394

    "dom": f ' <"toolbar">rtip'

    Misplaced apostrophe.

    "dom": ' f' <"toolbar">rtip'

This discussion has been closed.