Positioning Data Table Pagination , entry and filter

Positioning Data Table Pagination , entry and filter

jordan_josh3184jordan_josh3184 Posts: 12Questions: 5Answers: 0

Link to test case:
Debugger code (debug.datatables.net): "sDom": '<"top"flp>rt<"bottom"i><"clear">'
Error messages shown:
Description of problem: Hello ,
I am working on data tables and trying to put the entries per page and pagination in one row . I need to enable the filter as well but I am not sure how to enable filter. I have attached the screen shot where entries is on top left corner and pagination is in right corner. I need to place entries next to pagination . Also i need to enable filter on top left corner.
I am not sure how to enable filter.

Jordan

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,179Questions: 26Answers: 4,923

    Do you have searching: false as one of your Datatables initialization options?

    Please provide a test case showing what you are trying to do so we can help debug.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

  • jordan_josh3184jordan_josh3184 Posts: 12Questions: 5Answers: 0

    I am getting search now .. but issue is showing Filter on left. Pagination and lengthMenu on the top right corner. I am getting filter in correct position which is top left. but pagination and lengthmenu look weired. Length menu comes two times on top right corner and bottom right corner.
    I have used the sdom:

    <"pull-left"f><"pull-right"p><"pull-right"l>tip

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    As Kevin said, please provide a test case on the issue you want help with,

    Colin

This discussion has been closed.