|
Lines 25-34
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 |
$(selector).each(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 |
}); |
| 32 |
}); |
34 |
}); |
| 33 |
|
35 |
|
| 34 |
return table; |
36 |
return table; |
| 35 |
- |
|
|