Percentages as number of entries?
Percentages as number of entries?
PlanetPhillip
Posts: 5Questions: 2Answers: 0
Hi,
I have a few tables that use the same initialization function and I was wondering whether it would be possible to change the number of entries show from fixed numbers to a percentages.
I know I can, and probably will, change this element for each table, but showing percentages might simplify things for some users.
Just a thought.
This discussion has been closed.
Replies
Interesting idea - I haven't been asked for this one before. You could use
infoCallback
to do that - trivial example: http://live.datatables.net/fehiwuru/1/edit (there is a rounding error, but I'm sure that could be fixed fairly easily if you want to use this approach).Allan