Row Highligting...
Row Highligting...
I am trying to implement row highlighting according to http://datatables.net/examples/example_highlight.html
I cannot seem to blend it into my code, also I do not want column hightlight?
$(document).ready(function() {
$('#example').dataTable( {
"bPaginate": false,
"bSort": false,
"aoColumns": [
/* Name */ { "bSortable": false,
"bSearchable": true },
/* Writable */ { "bSortable": false,
"bSearchable": true },
/* Readable */ { "bSortable": false,
"bSearchable": true },
/* Type */ { "bSortable": false,
"bSearchable": true },
/* Size */ { "bSortable": false,
"bSearchable": true },
/* Action */ { "bSortable": false,
"bSearchable": false }
] } );
} );
I cannot seem to blend it into my code, also I do not want column hightlight?
$(document).ready(function() {
$('#example').dataTable( {
"bPaginate": false,
"bSort": false,
"aoColumns": [
/* Name */ { "bSortable": false,
"bSearchable": true },
/* Writable */ { "bSortable": false,
"bSearchable": true },
/* Readable */ { "bSortable": false,
"bSearchable": true },
/* Type */ { "bSortable": false,
"bSearchable": true },
/* Size */ { "bSortable": false,
"bSearchable": true },
/* Action */ { "bSortable": false,
"bSearchable": false }
] } );
} );
This discussion has been closed.
Replies
Do you have:
tr:hover { background-color: blue; } /* or whatever colour you want */
in your css?
Allan
If you don't want this to happen you can try:
tbody tr:hover { ... }
Should have known that been doign CSS long enough! Been a busy week!