could anyone please answer my 3 DataTables-related questions?
I’m trying to use DataTables in the PHP script displaying weekly players of my game in Russian language, but:

- I can’t find the option for localizing the Showing 1 to 20 of 3,558 entries string
- My buttons for First Next 1 2 3 4 5 Prev Last are way too the right in MSIE 7 and Chrome and even make the horizontal scrollbar appear, how could I move them to the left a bit? In Firefox 3.6.15 the page looks completely broken 🙁
- How do you enable the jQuery UI ThemeRoller support?
For the last item I’ve tried:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script type="text/javascript" language="javascript" src="/jquery.dataTables.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#rating").dataTable( {
"bJQueryUI": true,
but it hasn’t produced the nice looking table.
Thank you for your help!
Alex
To answer #3:
You have already enabled ThemeRoller Support with that option; but all the option does is enable the ability to add jQuery UI-specific classes to your table.
With the classes added, you still need to reference a jQuery UI stylesheet (sample below; yours will be different).
Themeroller themes will also have a bunch of images that are a part of the theme, located as a subfolder of custom-folder-name. You don’t necessarily need everything the ThemeRoller package produces, so you can sort of pick and choose; or keep the whole directory intact and only reference what you need. It’s just a few bytes on the server to keep the unused stuff in place!
The sample seems to be cut a bit short, so you might already be doing this– but don’t forget that the last item of the initialization can’t have a comma after it.