Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all 1816 articles
Browse latest View live

Get column total value to the end of the table

$
0
0
Hi everyone,

I am new to Datatables and so far i have implemented to retrieve data to datatables from JSON and PHP.

But i need to calculate the total value of each column and need to put those value to end of the table. I tried some of given example and i am unable to display the summation row at the end of the table.

can any one help me with proper clear simple example to implement to get the total value of each column and display them in the bottom or footer of the table

how to add a custom column dynamically in ajax grid

$
0
0
I configured ajax grid and I'm getting json data from a url and displaying it in a grid. and my requirement is for each row I have to display a check box at the first column to select that entire row. so can you check the following code and explain please how to tweak it

"fnServerData": function( sUrl, aoData, fnCallback ) {
aoData.push( { "name": "more_data", "value": "my_value" } ); // Added to insert new component dynamically, but didn't worked
$.ajax( {
"url": sUrl,
"data": aoData,
"success": fnCallback,
"dataType": "json",
"cache": false
} );
}

Issue with re-initializing dataTable having columnFilter with type checkbox.

$
0
0
Ref:

jquery.dataTables.js 1.9.4
jquery.dataTables.columnFilter.js 1.5.1.


I'm having issue with reinitializing jquery datatable when any search criteria changes with the click of show result button.

It works fine with first load & doing sorting / filtering as expected but if i change criteria & rebuild the table, it is giving me javascript error as "'oFeatures' is null or not an object" when i try to apply filter by select/deselect any checkbox (with second load onwards).

Below code which is used to generate datatable with filter options after getting json result from server & html getting appended to #resultTable

 
var resultTable = $("#resultTable").dataTable({
    "bAutoWidth": false,
    "bFilter": true,
    "bJQueryUI": false,
    "oSearch": { "bSmart": false },
    "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
    "iDisplayLength": 50,
    "aoColumns": [
                   { sWidth: "10px" }
                 , { sWidth: "200px" }
                 , { sWidth: "210px" }
                 , { sWidth: "50px" }
                 , { sWidth: "80px" }
                 , { sWidth: "80px" }
                 , { sWidth: "50px" }
                 , { sWidth: "80px" }
                 , { sWidth: "80px" }
                 , { sWidth: "80px" }
                 , { sWidth: "80px" }
                 , { sWidth: "50px" }
                 ]
}).columnFilter({
    "sPlaceHolder": "head:after",
    "aoColumns": [
                null,
                null,
                { type: "checkbox" },
                { type: "checkbox" },
                { type: "checkbox" },
                null,
                null,
                null,
                { type: "checkbox" },
                null,
                null,
                null
               ]
});  

furthermore,
 #resultTable 
& html is been created on the fly based on json response from server.

So far:

I tried applying various options before re-loading datatable like below..

 $("#resultTable").dataTable().fnUpdate();

 $("#resultTable").dataTable().fnFilterClear();

But no luck yet..!! :( , it works well with select (dropdown)... unable to trace what is wrong with checkbox options,

Any help would be greatly appreciated!

Thank you!
Jay

Adding html data tags to datatable serverside

$
0
0
Long time datatables user with a problem I can't seem to find a solution to. I need to add an html tag 'data-title' to each TD in each row. How can I do this using datatables serverside?

Or, would it make more sense to have a script append the data-title tag after the table is rendered? Thanks for any input!

Display content of dynamically selected table

$
0
0
Hi All,

I want to use DataTables to display the contents of a dynamically selected table. So the columns are not known in advance, and will be retrieved using an ajax call. I have the test case below:
http://live.datatables.net/onunaq/2/edit#source

What am I missing here, because I cannot get this to work.

only first row is editable with datatables jeditable. why?

$
0
0
using editable dataTable, and I'm able to edit the data on the first row of my table (last two columns). why are the other rows not editable? I'm expecting all rows for the last two columns to be editable.

I have tried assigned class="editable" to the table row tag, but that doesn't change the result. in the code below, i have no class assigned to the table row tag.

here is the debug link: http://debug.datatables.net/ahigal

jquery (in $(document).ready scope) :
                    var oTable = $('#myTable').dataTable( {
                     bFilter: false, 
                     sPaginationType: 'full_numbers',
                <!--     bProcessing: true, -->
                     bServerSide: true,
                     bJQueryUI: true,
                     fnDrawCallback: function( oSettings ) { 
                        alert( 'DataTables has redrawn the table' ); 
                    } 
                });

                $('.editable', oTable.fnGetNodes()).editable( 'editable_ajax.php', {
                    callback: function( sValue, y ) {
                        var aPos = oTable.fnGetPosition( this );
                        oTable.fnUpdate( sValue, aPos[0], aPos[1] );  <!-- this is value, row and column -->
                    },
                    submitdata: function ( value, settings ) {
                        return {
                            row_id: this.parentNode.getAttribute('id'),
                            column: oTable.fnGetPosition( this )[2]
                        };
                    },
                    height: '14px'
                } );

php:
    echo '<table cellspacing="0" id="myTable">';
echo '<thead><tr><th>Key</th><th>Store</th><th>Date</th><th>Group</th><th>Position</th><th>Category</th><th>Lane 3</th></tr></thead>';
foreach($page_data as $key => $row){
  echo sprintf('<tbody><tr id=%s><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td class="editable">%s</td><td class="editable">%s</td></tr></tbody>',
            $key, //this is for the row id
            $key, //display key
	    $row['StoreNumber'],
	    $row['LaneDate'],
	    $row['LaneGroup'],
	    $row['LanePosition'],
	    $row['Category'],
	    $row['Lane3']);
}
echo '</table>';

Re-draw the table when user uses new searchfunction.

$
0
0
I have made a function like this.

data is a format [["1","2","3","4"],["1","2","3","4"]] string which is parsed as data, works fine.
all is just a number I use later on.

The function insertReply(data,all) and is called trough JSONP, a Google Apps script generates the JSONP data. This all works fine, when I press the search button a search command is sent to the GAS, and it returns the JSONP function and array.

But when I press the serach button the second time, I get new data returned, but the table isn't updating. I log my data, and it is another array, but the table just keeps having the same rows.

Any ideas?

function insertReply(data,all) {


$(document).ready( function () {

$('#example').dataTable( {
"aaSorting": [],
"bLengthChange": false,
"iDisplayLength": 5,
"bPaginate": true,
"aaData": JSON.parse(data),
"bRetrieve": true,
"aoColumns": [
{ "sTitle": "Matching" },
{ "sTitle": "Sectorervaring" },
{ "sTitle": "Beschikbaarheid" },
{ "sTitle": "Selecteer" }

]
} );
} );

wordpress + row details

$
0
0
Hi everyone,
I would like to ask you for help in an issue that I try to deal with. I've created a simple web portal for clients that are able to see data from database and details about them(using: https://datatables.net/release-datatables/examples/server_side/row_details.html example) It works great in browser: http://i.imgur.com/2lIxzXN.png with this code:
		<script type="text/javascript" charset="utf-8">
			var oTable;
			
			/* Formating function for row details */
			function fnFormatDetails ( nTr )
			{
				var aData = oTable.fnGetData( nTr );
				var sOut = '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">';
				sOut += '<tr><td>Book and Author:</td><td>'+aData[1]+' '+aData[2]+'</td></tr>';
				sOut += '<tr><td>Link to source:</td><td><a HREF="http://localhost:8080/DataTables-1.9.4/examples   /details_for_row.php?bookname='+aData[1]+'&lastname='+aData[2]+'">Show Details</a></td></tr>';
				sOut += '</table>';
				
				return sOut;
			}
			
			$(document).ready(function() {
				oTable = $('#BOOKS').dataTable( {
					"bProcessing": true,
					"bServerSide": true,
					"sAjaxSource": "function_retrieve_data_details_php_script.php",
      				"fnServerParams": function ( aoData ) {
            				aoData.push( { "name": "bookname", "value": "<?php echo $bookname ?>" } );
            				aoData.push( { "name": "lastname", "value": "<?php echo $lastname ?>" } );
            				aoData.push( { "name": "period", "value": "<?php echo $period ?>" } );
					},
					"aoColumns": [
						{ "sClass": "center", "bSortable": false },
						null,
						null,
						null,
						null,
					],
					"aaSorting": [[1, 'asc']]
				} );
				
				$('#BOOKS tbody td img').live( 'click', function () {
					var nTr = this.parentNode.parentNode;
					if ( this.src.match('details_close') )
					{
						/* This row is already open - close it */
						this.src = "examples_support/details_open.png";
						oTable.fnClose( nTr );
					}
					else
					{
						/* Open this row */
						this.src = "examples_support/details_close.png";
						oTable.fnOpen( nTr, fnFormatDetails(nTr), 'details' );
					}
				} );
			} );
		</script>
However when I insert it into wordpress I encounter problems: http://i.imgur.com/6hgxsS4.png I changed all paths and I think it should work. I noticed that I can show data at least when I remove this function from the code:
			/* Formating function for row details */
			function fnFormatDetails ( nTr )
			{
				var aData = oTable.fnGetData( nTr );
				var sOut = '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">';
				sOut += '<tr><td>Book and Author:</td><td>'+aData[1]+' '+aData[2]+'</td></tr>';
				sOut += '<tr><td>Link to source:</td><td><a HREF="http://localhost:8080/DataTables-1.9.4/examples/details_for_row.php?bookname='+aData[1]+'&lastname='+aData[2]+'">Show Details</a></td></tr>';
				sOut += '</table>';
				
				return sOut;
			}
But I don't have the functionality, it looks like this: http://i.imgur.com/PpNGOjs.png
I've spent a lot of time on this, I tried to change php plugins in wordpress etc, but nothing helped. Is there anybody who could come up with the solution?

Optimize components rendering

$
0
0
Hello everyone, i'd like to know if is there a way to optimize my interface rendering.

I mean, when the data is retrieved (around 1k+ registers) from database, it loads fast enough to display the rows, but it takes around 600ms to appear the filter-input (search) and the table height style is set only after the components are completely rendered.

the code i'm using to initialize datatable:

 
$('#datatable-worklist-urgent-doctor').dataTable({
		"oLanguage": {
            "sUrl": "js/i18n/dataTables.pt.txt"
        },
        "aoColumns": [
            { "sType": "uk_date" },
            null,
            null,
            null,
            null,
            null,
            null,
            { "sType": "uk_date" },
            null            
        ],
		"bPaginate": false,	
		"bStateSave": true,
        "fnStateSave": function (oSettings, oData) {
            localStorage.setItem( 'DataTables', JSON.stringify(oData) );
        },
        "fnStateLoad": function (oSettings) {
            return JSON.parse( localStorage.getItem('DataTables') );
        },
		"sScrollX": "100%",
		"sScrollY": "300px",
		"bScrollCollapse": true
	});

I appreciate any help.
Thank you all, best regards.

Filtering issues & Drill down table

$
0
0
Hi,

It seems that I am using the fnFilter incorrectly. I wish to search for an exact alphanumeric number i.e. if I search for 55a I want that to be returned, not 155a or 55a1, etc... In addition, I understand that v. 1.9.4 doesn't allow for columns to be added/removed dynamically. I have tried the workaround as best as I could but was getting repeating columns. I have included code below.

// globals
var dt;
var asInitVals = new Array();
asInitVals[0] = "Number...";
asInitVals[1] = "Type...";

var num_field;
var type_field;
var rowCount;
var fldLength;






// BEGIN EXEC
$(function () {

    // initialize table
    initTable();

    // clear fields 
    $("#number_fld").focus(function () {
        this.value = "";
    });
    $("#type_fld").focus(function () {
        this.value = "";
    });

    // restore field values
    $("#number_fld").blur(function () {
        if (this.value == "") {
            this.value = asInitVals[0];
            // hide table
            dt.fnFilter("Number...");
        }
    });
    $("#type_fld").blur(function () {
        if (this.value == "") {
            this.value = asInitVals[1];
            // hide table
            dt.fnFilter("Type...");
        }
    });

    //grab values from fields
    $("#number_fld").keyup(function () {
        num_field = $(this).val();

        // only filter table based on 4-5 characters
        fldLength = num_field.length;
        console.log(fldLength);

        if (fldLength == 4 || fldLength == 5) {
            dt.fnFilter("^"+num_field+"$",2, true,false);
            rowCount = dt.fnSettings().fnRecordsDisplay();
            console.log("Number fld Rowcount : " + rowCount);


            //setTimeout("addDetails(dt, rowCount)", 2000);
            addDetails(rowCount);
        }
    });

    //grab values from fields
    $("#type_fld").keyup(function () {
        type_field = $(this).val();
        dt.fnFilter(type_field,1,true,false);
        rowCount = dt.fnSettings().fnRecordsDisplay();
        console.log("Type fld Rowcount : " + rowCount);

        //setTimeout("addDetails(dt,rowCount)", 2000);
        addDetails(fldLength);
    });


});             // END EXEC



// function declarations section

// row details function
function formatDetailsSection(dt, nTr) {
    var aData = dt.fnGetData(nTr);
    var sOut = '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">';
    sOut += '<tr><td>Addtional Fields:</td><td>' + aData[1] + ' ' + aData[4] + '</td></tr>';
    sOut += '<tr><td>Link to source:</td><td>Could provide a link here</td></tr>';
    sOut += '<tr><td>Extra info:</td><td>And any further details here (images etc)</td></tr>';
    sOut += '</table>';

    return sOut;
}


// add details to table
function addDetails(rowCount) {

    /* remove any icon table header/columns beforehand; 
     * look at alternative ways to 
    * accomplish this
    */
    $(".icon_header").remove();
    $(".center").remove();
    
    /*
    * Insert a 'details' column to the table
    */

        var nCloneTh = document.createElement('th');
        nCloneTh.className = "icon_header";
        var nCloneTd = document.createElement('td');
        nCloneTd.innerHTML = '<img class="expandable" src="img/details_open.png">';
        nCloneTd.className = "center";

        /* TODO - debug multiple icon insertions */


        $('#tbl_lease_permit thead tr').each(function () {
            this.insertBefore(nCloneTh, this.childNodes[0]);
        });

        // insert + icon before each row
        $('#tbl_lease_permit tbody tr').each(function () {
            //this.insertBefore(nCloneTd.cloneNode(true), this.childNodes[0]);
            this.insertBefore(nCloneTd, this.childNodes[0]);
        });
    

} 
       
           


     
// initialize table
function initTable() {


    
    $("#lease_permit_container").html('<table cellpadding="0" cellspacing="0" border="0" class="display" id="tbl_lease_permit"></table>');



    dt = $("#tbl_lease_permit").dataTable({
        "sPaginationType": "full_numbers",
        "aLengthMenu": [[10, 20, -1], [10, 20, "All"]],
        "iDisplayLength": 10,
        "aaSorting": [[5, 'desc']],
        //"aaData": csv_contents,
        "bProcessing": true,
        //"aaData": aaData,
        "bAutoWidth": true,
        "sDom": 'r<bottom"p',
        "sAjaxSource": "ajsonfile.json",
        "bDeferRender": true,
        "bSortClasses": false,
        "oLanguage": {
            "sSearch": "Search across all columns:",
            "sEmptyTable": "Look up  lease and permit fees by searching by Type and/or Number.",
            "sZeroRecords": "Look up  lease and permit fees by searching by Type and/or Number."
        },
        //"oSearch" : {"bSmart" : false},
        "aoColumnDefs": [
                { "sTitle": "a", "mData": "a", "aTargets": [0], "bVisible": false },
                { "sTitle": "Type", "mData": "type", "aTargets": [1] },
                { "sTitle": "Number", "mData": "number", "aTargets": [2] },
                { "sTitle": "b", "mData": "b", "aTargets": [3] },
                { "sTitle": "c", "mData": "c", "aTargets": [4] },
                { "sTitle": "d", "mData": "d", "aTargets": [5] },
                { "sTitle": "e", "mData": "e", "aTargets": [6] },
                { "sTitle": "f", "mData": "f", "aTargets": [7] },
                { "sTitle": "g", "mData": "g", "aTargets": [8] },
                { "sTitle": "h", "mData": "h", "aTargets": [9] },
                { "sTitle": "i", "mData": "i", "aTargets": [10] },
                { "sTitle": "j", "mData": "j", "aTargets": [11] },
                { "sTitle": "k", "mData": "k", "aTargets": [12] },
                { "sTitle": "l", "mData": "l", "aTargets": [13] }

            ]
            /*
        "fnDrawCallback": function () {
            $('#tbl_lease_permit thead').html(''); 
        }
        */
    });
   
    /* Add event listener for opening and closing details
    * Note that the indicator for showing which row is open is not controlled by DataTables,
    * rather it is done here
    */
    $('#tbl_lease_permit tbody td img').live('click', function () {
        var nTr = this.parentNode.parentNode;
        if (this.src.match('details_close')) {
            /* This row is already open - close it */
            this.src = "img/details_open.png";
            dt.fnClose(nTr);
        }
        else {
            /* Open this row */
            this.src = "img/details_close.png";
            dt.fnOpen(nTr, formatDetailsSection(dt, nTr), 'details');
        }
    });


    // display no results on initTable
    dt.fnFilter('Search...');
   
}





Any suggestions are greatly appreciated. Thanks again.

How to get all selected checkbox from multiple pagination page

$
0
0
Good day,

Could someone please help me to understand how can i get all the checkbox were checked throughout all the pagination page?

using below seem only show the current page checkbox, not all pages.

Not sure if anything miss out, thanks for enlightenment!

$('input[name=myCheckbox]:checked');


Thanks

Multiple Instances of DataTables slowing each other down?

$
0
0
Hey there!

i'm not sure if somebody has already asked this one, but i could not find anything after searching in google for a couple of hours and in this forum.
I have this strange issue with Datatables. My situation is:

-) It's a Single Site Application
-) Multiple Tables on different div's, which i hide and show with the style-setting "display:none"
-) Every table initializes, when it's needed (e.g. user clicks on a link in the navigation)
-) One Table has about 2500 Rows, the other ones (about 5-6 Tables) have 10 Rows

The Plugin works really nice when i have only those small Tables initiated, but once i load/initialize the 'big' table, every other table also takes about 1-2 seconds to initialize, which does not happen, when i haven't loaded the 'big' table. The small tables usually initiate 'instantly', when the big one isnt initiated.

My code for the initialization of the big table is:
{ "bProcessing": true,
"bPaginate": true,
"aoColumns": [
{ "bSearchable": false, "bVisible": false, "mData": "ROWNUM" },
{ "mData": "ID", "mRender": addButtonsListeEA },
{ "sType": "date-eu", "mData": "DATE_RETRIEVED" },
{ "mData": "DESCR" },
{ "mData": "BW", "sType": "formatted-num", "sClass": "alignRight" },
{ "mData": "BW_F", "sType": "formatted-num", "sClass": "alignRight" },
{ "mData": "PRICE", "sType": "formatted-num", "sClass": "alignRight" },
{ "mData": "KAT_NAME" }
],
"bSortClasses": false,
"aoColumnDefs": [{
"aTargets": [4, 6], "fnCreatedCell": setColor
}],
"aaSorting": [[0, "asc"]],
"sAjaxSource": "Default.aspx/loadList",
"sAjaxDataProp": "Rows",
"bDeferRender": true,
"fnServerData": getJSONFromDB
}

For the other tables it is without sAjaxsource, only something like this:
{ "aoColumns": [
{ "bSearchable": false, "bVisible": false },
null,
null,
null,
{ "sType": "date-eu" }
],
"aaSorting": [[0, "asc"]]
}

my getJSONFromDB-function:

function getJSONFromDB(sSource, aoData, fnCallback) {
$.ajax({
"dataType": 'json',
"contentType": "application/json; charset=utf-8",
"url": sSource,
"type": "POST",
"data": aoData,
"success": function (ret) {
var json = JSON.parse(ret.d);
fnCallback(json);
}
});
}

DataTables perfectly fits my needs, except for that lag in the initialization-part.
Everything works fine, once the table is initialized, but for my application i cant accept the time it takes, to init the tables, once a big table has been loaded.

Do you have any Idea why that happens and could give me some tips?

Thanks!

problem to pass data-id to modal popover

$
0
0
HTML :
 
	<table class="table table-hover" id="table4">
													<thead>
														<tr>
															<th width="20%">Rendering engine</th>
															<th width="25%">Browser</th>
															<th width="25%">Platform(s)</th>
															<th width="15%">Engine version</th>
															<th width="15%">CSS grade</th>
														</tr>
													</thead>
													<tbody>
														
													</tbody>
												</table>


/// modal
<div class="modal hide" id="addBookDialog">
 <div class="modal-header">
    <button class="close" data-dismiss="modal">×</button>
    <h3>test</h3>
  </div>
    <div class="modal-body">
        <p><div id="getdata"></div></p>
        
    </div>
</div>

Javascript :

 $('#table4').dataTable({
					"bProcessing": true,
					"sAjaxSource": "js/results.json"

				});

$("#open-AddBookDialog").click(function() {
var username = $(this).data('id');
$("#getdata").html(username);

});


Json :
 ["test","172120886","2013-03-26","test","<a data-toggle=\"modal\" id=\"open-AddBookDialog\" data-id=\"172120886\" title=\"Add this item\" class=\"open-AddBookDialog btn btn-primary\" href=\"#addBookDialog\">View<\/a>\n"]


i am using mozilla firebug
[15:13:27.637] Empty string passed to getElementById(). @ http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js:2

can someone help me ?

Fndestroy and FnclearTable

$
0
0
How to make multiple rows(maybe3 or 4 rows) in a Datatable into one single row.

problem with print-preview and print

$
0
0
any ideas why the <thead> doesn't have the same layout on the second and third site like on first page??
i made some screenshots.. on page 1 everything is fine!
on the second and third site/page i got no border on top and the background has moved.

Page 1: http://imageshack.us/a/img96/4369/zqah.jpg

Page 2: http://imageshack.us/a/img849/8276/yrrl.jpg

Page 3: http://imageshack.us/a/img835/3297/k568.jpg

can you tell me the name of class you are using in your script?
its hard to change this css because i can't edit the print-preview with firebug.

maybe it is possible to repeat the thead every 10 lines.. !?

mRender: return data variable as text (with html tags)

$
0
0
Hi,

Does anyone know how can I return the data variable as text - containing html tags - with mRender?

"mRender": function (data, type, full) {
		                    			
                  return data;
      },


Thanks,
Jose

Fixed Left Column not working using Fixed Header Extra

$
0
0
I'm unable to provide a link to the actual webpage that I'm using as it's behind a password protected directory, and contains sensitive data that I don't want to make available to prying eyes.

A working example that illustrates the same issue I am having can be found here: http://live.datatables.net/eyejag

What I would like to have happen is have the header row and the first (left) column fixed. However, as you can see in the example only the header row is fixed.

I believe I followed the options correctly for the FixedHeader: http://datatables.net/extras/fixedheader/options

$(document).ready( function () {
    var oTable = $('#schedule').dataTable( {
        "sScrollY": "500px",
        "sScrollX": "100%",
	"sScrollXInner": "150%",
	"bFilter": false,
	"bSort": false,
	"bInfo": false,
        "bPaginate": false
		} );
    new FixedHeader( oTable, { "left": true } );
} );

I also get the error message "FixedHeader 2 is not supported with DataTables' scrolling mode at this time"

Does this error mean that fixing the top row and left column is not possible?

Also, I'm using DataTables 1.9.4 and FixedHeader 2.0.6

Cell background color based on cell content

$
0
0
For a new site I'm writing, I would like to be able to specify the background color of the table cell based on the value within that cell. For example:
value < 6, bgcolor = red
6 < value < 8, bgcolor = green
value > 8, bgcolor = red

Is this possible? The data will be gotten by JSON.

undefined is null or not an object in datatables.min.js at line 26

$
0
0
I am using datatables 1.9.4 for displaying data which come from ajax .some times it is working propelry ,but i am getting above error often .I tried to figure out but no use. it contains total 223 rows but displaying 86 rows and giving script error. please help me in this . this is my table debugger link http://debug.datatables.net/asuyuy

Highlighting Entire Row on Hover with Fixed Columns

$
0
0
I have a table with fixed columns, I've set up CSS styles to highlight the rows on hover, but only the fixed columns highlight when I hover over them or the non-fixed columns when I hover over them.

Is it possible to have the entire row (fixed and non-fixed columns) highlight when I hover on any cell in the row?

Thanks.

Here's the CSS I'm using to highlight the rows (only "even" included for example):
tr.even:hover td,
#mtTable tr.even:hover td,
#mtTable tr.even:hover td.sorting_1 { background-color: #FFFF88;
                                      border-top: 2px solid #FF0000;
                                      border-bottom: 2px solid #FF0000; }

The first line, "tr.even:hover td", provides the highlighting for the fixed columns, the other two, beginning with "#mtTable", provide the highlighting for the non-fixed columns.
Viewing all 1816 articles
Browse latest View live