Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if datatable is null js

var table = $('#idTable').DataTable();

if ( ! table.data().any() ) {
    alert( 'Empty table' );
}
 
PREVIOUS NEXT
Tagged: #datatable #null #js
ADD COMMENT
Topic
Name
8+6 =