Lines 793-806
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
Link Here
|
793 |
|
793 |
|
794 |
var table = $(this).dataTable(settings); |
794 |
var table = $(this).dataTable(settings); |
795 |
|
795 |
|
796 |
table.DataTable().on("column-visibility.dt", function(){ |
|
|
797 |
if( typeof columnsInit == 'function' ){ |
798 |
// This function can be created separately and used to trigger |
799 |
// an event after the DataTable has loaded AND column visibility |
800 |
// has been updated according to the table's configuration |
801 |
columnsInit(); |
802 |
} |
803 |
}).columns( hidden_ids ).visible( false ); |
804 |
|
796 |
|
805 |
if ( add_filters ) { |
797 |
if ( add_filters ) { |
806 |
var table_dt = table.DataTable(); |
798 |
var table_dt = table.DataTable(); |
Lines 855-860
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
Link Here
|
855 |
} ); |
847 |
} ); |
856 |
} |
848 |
} |
857 |
|
849 |
|
|
|
850 |
table.DataTable().on("column-visibility.dt", function(){ |
851 |
if( typeof columnsInit == 'function' ){ |
852 |
// This function can be created separately and used to trigger |
853 |
// an event after the DataTable has loaded AND column visibility |
854 |
// has been updated according to the table's configuration |
855 |
columnsInit(); |
856 |
} |
857 |
}).columns( hidden_ids ).visible( false ); |
858 |
|
858 |
return table; |
859 |
return table; |
859 |
}; |
860 |
}; |
860 |
|
861 |
|
861 |
- |
|
|