1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Dev fix: Examples - Index column example needs to use namespaced events

This commit is contained in:
Allan Jardine 2013-11-25 09:24:08 +00:00
parent 208b3ba6a1
commit 89c3ded42a
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
73192054febbf11d460d3fad581024672c36c4b3
0729daf0a7a36c2fc4fb3f5ebabfc1690b281de2

View File

@ -28,7 +28,7 @@ $(document).ready(function() {
"order": [[ 1, 'asc' ]]
} );
t.on( 'order search', function () {
t.on( 'order.dt search.dt', function () {
t.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
cell.innerHTML = i+1;
} );
@ -566,7 +566,7 @@ $(document).ready(function() {
"order": [[ 1, 'asc' ]]
} );
t.on( 'order search', function () {
t.on( 'order.dt search.dt', function () {
t.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
cell.innerHTML = i+1;
} );