Using sDom Option in DataTable

Using sDom Option in DataTable

infantheartlyjesinfantheartlyjes Posts: 9Questions: 0Answers: 0
edited November 2012 in General
Hi,
I need to set Length changing, Filtering input, Information, Pagination controls at Footer of the DataTable. I used the below code. But its not working properly.
[code]
"sDom": 'rt<"bottom"lfip"><"clear">'
[/code]

But its not working properly.

Replies

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin
    As noted in the 'New Discussion' instructions please post a link to the page showing the issue, otherwise the help we can offer is very limited. In what way is it not working properly? See - http://live.datatables.net/inapev/edit#javascript,html - it works correctly there (CSS error sure, but that trivial in CSS).

    Allan
  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    edited November 2012
    Use the following
    This will show the length menu to the left, search to top right , information on bottom left and pagination to the bottom right

    [code]
    "sDom": 'rt<"top"lf"bottom"ip"><"clear">'

    [/code]

    To show at the bttom follow Allan's example
This discussion has been closed.