Lines 25-37
function KohaTable(selector, dt_parameters, columns_settings) {
Link Here
|
25 |
text: _("Column visibility"), |
25 |
text: _("Column visibility"), |
26 |
} |
26 |
} |
27 |
]; |
27 |
]; |
28 |
var table = $(selector).dataTable($.extend(true, {}, dataTablesDefaults, dt_parameters)); |
|
|
29 |
|
28 |
|
30 |
$(hidden_ids).each(function(index, value) { |
29 |
var tables = $(selector).map(function(){ |
31 |
table.fnSetColumnVis( value, false ); |
30 |
var table = $(this).dataTable($.extend(true, {}, dataTablesDefaults, dt_parameters)); |
|
|
31 |
$(hidden_ids).each(function(index, value) { |
32 |
table.fnSetColumnVis(value, false); |
33 |
}); |
34 |
return table; |
32 |
}); |
35 |
}); |
33 |
|
36 |
|
34 |
return table; |
37 |
return tables; |
35 |
} |
38 |
} |
36 |
|
39 |
|
37 |
</script> |
40 |
</script> |
38 |
- |
|
|