table.columns().every method not supported
table.columns().every method not supported
datamaster
Posts: 2Questions: 2Answers: 0
Hello, I have this code included but i get a browser error Webpage error details
Message: Object doesn't support this property or method
Line: 70
Char: 6
Code: 0
Here is the code:
table.columns().every( function () {
var that = this;
$( 'input', this.footer() ).on( 'keyup change', function () {
if ( that.search() !== this.value ) {
that
.search( this.value )
.draw();
}
} );
} );
This discussion has been closed.
Answers
Sounds like you are using an old version of DataTables.
columns().every()
was introduced in 1.10.6.Allan