View Full Version : changing the background color of the table & customizing search box of dataTables

02 Jun 2012, 12:40 PM
I've used dataTables for my table. But I want to give some new looks to the tables but do not know where to do them. My css & js files are:

<link href="css/demo_page.css" rel="stylesheet" type="text/css">
<link href="css/demo_table.css" rel="stylesheet" type="text/css">
<link href="css/demo_table_jui.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.dataTables.min.js"></script>

I want to change the background color of the rows, how can I do it?

Also I want to write default text in the search box as "Search via any field".
Which of the files I have to edit for these changes?