How I can personalize the text in the bInfo section?

How I can personalize the text in the bInfo section?

salvipascualsalvipascual Posts: 2Questions: 0Answers: 0
edited August 2012 in General
I initialized my table using these params:

[code]
...
"bPaginate": false,
"bInfo": true,
...
[/code]

- In the bInfo section says: "Showing 1 to 614 of 614 entries"
- Since I have no pagination I was expecting it to only say: "Showing 614 of 614 entries"
- Lastly, if I use the filters I obtain: "Showing 1 to 10 of 10 entries (filtered from 614 total entries)"
- When it should only say: "Showing 10 of 614 total entries)"

Allan: What I am saying make some sense for you? Is there a way to erase the pagination information from the bInfo section (if pagination is off) or should I move this question to the "Feature request" category?

Thanks :-)

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    There are two options:

    1. Use the language parameters: http://datatables.net/usage/i18n (specifically the sInfo* ones)
    2. Use the fnInfoCallback to customise the text to your heart's content :-)

    Allan
This discussion has been closed.