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:
parent
208b3ba6a1
commit
89c3ded42a
@ -1 +1 @@
|
||||
73192054febbf11d460d3fad581024672c36c4b3
|
||||
0729daf0a7a36c2fc4fb3f5ebabfc1690b281de2
|
||||
|
@ -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;
|
||||
} );
|
||||
|
Loading…
x
Reference in New Issue
Block a user