oPaginate Text In 1.10.0 Beta
oPaginate Text In 1.10.0 Beta
I've used the following oPaginate settings in version 1.9.4 successfully:
"oLanguage":
{
...
,"oPaginate":{
"sFirst": "|<"
,"sPrevious": "<"
,"sNext": ">"
,"sLast": ">|"
}
}
Now in 1.10.0 beta, the sFirst and sPrevious characters do not show in their respective buttons (which result in very narrow button widths). The sNext and sLast are unaffected and display correctly.
How do I make the sFirst and sPrevious options display correctly in 1.10.0 beta?
"oLanguage":
{
...
,"oPaginate":{
"sFirst": "|<"
,"sPrevious": "<"
,"sNext": ">"
,"sLast": ">|"
}
}
Now in 1.10.0 beta, the sFirst and sPrevious characters do not show in their respective buttons (which result in very narrow button widths). The sNext and sLast are unaffected and display correctly.
How do I make the sFirst and sPrevious options display correctly in 1.10.0 beta?
This discussion has been closed.
Replies
You need to use pagingType and set it to be 'full_numbers' to have the first and last_buttons show: http://next.datatables.net/reference/option/pagingType .
Example:
http://live.datatables.net/uxUY/1/edit
That should also have been the case with 1.9?
Allan
Thanks for the hint. I was never setting the pagingType when using version 1.9.4 so unless its default was 'full_numbers' I don't know how to explain the difference.
If I set the sFirst to be "|<" and sPrevious to "<", it works! And this is without setting the pagingType.
I don't understand what is causing the change, however, at least I know how to get around it.
Allan