1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

dev continuing with extending the unit tests - mostly around the index and indexes methods

This commit is contained in:
Allan Jardine 2018-06-14 11:09:43 +01:00
parent 5e74941660
commit 4aa55efc91
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
cefecf132582e4ba2f00dd0f221b3e3194e5db45
2eb6e6d14aa6df1a8dcc38869ac53502e4201414

View File

@ -44,9 +44,9 @@ $(document).ready(function() {
<section>
<h1>DataTables example <span>Highlighting rows and columns</span></h1>
<div class="info">
<p>Highlighting rows and columns have be quite useful for drawing attention to where the user's cursor is in a table, particularly if you have a lot of narrow
columns. Of course the highlighting of a row is easy enough using CSS, but for column highlighting, you need to use a little bit of Javascript.</p>
<p>This example shows that in action on DataTable by making use of the <a href="//datatables.net/reference/api/cell().index()"><code class="api" title=
<p>Highlighting rows and columns can be useful for drawing attention to where the user's cursor is in a table, particularly if you have a lot of narrow columns.
Highlighting a row is easy using CSS, but for column highlighting, you need to use a little bit of Javascript.</p>
<p>This example shows DataTables making use of the <a href="//datatables.net/reference/api/cell().index()"><code class="api" title=
"DataTables API method">cell().index()</code></a> method to get the index of the column that is to be operated on, and then the <a href=
"//datatables.net/reference/api/cells().nodes()"><code class="api" title="DataTables API method">cells().nodes()</code></a> and <a href=
"//datatables.net/reference/api/column().nodes()"><code class="api" title="DataTables API method">column().nodes()</code></a> methods to remove old classes and