How I can personalize the text in the bInfo section?
How I can personalize the text in the bInfo section?
salvipascual
Posts: 2Questions: 0Answers: 0
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 :-)
[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 :-)
This discussion has been closed.
Replies
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