Data Table Display

Data Table Display

Christian PenkChristian Penk Posts: 4Questions: 1Answers: 0

I would want to have a link for displaying number of records per page instead of the drop down list. Can anyone tell how this can be achieved? Appreciate your help.

This question has an accepted answers - jump to answer

Answers

  • Tom (DataTables)Tom (DataTables) Posts: 139Questions: 0Answers: 26

    Hi

    There's actually a plugin for this. You can find the file here.

    Thanks

    Tom

  • Christian PenkChristian Penk Posts: 4Questions: 1Answers: 0

    I add the files but it was still coming as a drop down list only. Do i need to do any configuration for it?

  • allanallan Posts: 64,106Questions: 1Answers: 10,574 Site admin

    Did you add the L option to the dom parameter like the examples in the comments for the file show?

    Allan

  • Christian PenkChristian Penk Posts: 4Questions: 1Answers: 0

    yes i have included it. It is coming as a drop down list. I want to have it as separate links like " 10 | 25 | 50". On clicking the table data should display accordingly.

  • allanallan Posts: 64,106Questions: 1Answers: 10,574 Site admin
    Answer ✓

    It appears to work without issue for me here: http://live.datatables.net/ficubeno/1/edit .

    We'd need a link to a test case showing the issue.

    Allan

  • Christian PenkChristian Penk Posts: 4Questions: 1Answers: 0

    I am having some difficulty in implementing the same. Let me try and i will get back to you. Thanks for the help.

This discussion has been closed.