Basic formatting

Basic formatting

spitfire45spitfire45 Posts: 18Questions: 0Answers: 0
edited March 2010 in General
I need to start out by saying what a great job you guys have done developing this plugin.

I have been playing around with it today using the example in "Jquery 1.3 with PHP" from PackT.

Couple of questions which I couldn't find from your site - firstly how do I change the alternate row colours - I am using a ThemeRoller style but these don't change. Secondly how do I go about formating the header and footer, at the moment these need some padding. e,g around the search box.

The example can be viewed at http://198.171.171.82/9-5_caching/table.html

Many thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    1. ThemeRoller doesn't include alternating row colour information. All you need to do is make use of the .odd and .even classes that DataTables assigns (tr.odd { background-color: red; } for example).

    2. Again use CSS to do this. The class information you need can be found here: http://datatables.net/styling/ids_classes . Poking around in Firebug is really useful for this kind of thing.

    Allan
This discussion has been closed.