Merge branch 'ent-5369-parseo-de-event-name-en-exportar-elementos' into 'develop'

Deleted columns s, options and m on csv datatables events

See merge request artica/pandorafms!3313
This commit is contained in:
Daniel Rodriguez 2020-07-10 10:16:34 +02:00
commit 9d6fff0850
1 changed files with 10 additions and 1 deletions

View File

@ -3408,6 +3408,14 @@ function ui_print_datatable(array $parameters)
$js .= $parameters['drawCallback'];
}
for ($i = 1; $i <= (count($parameters['columns']) - 3); $i++) {
if ($i != (count($parameters['columns']) - 3)) {
$columns .= $i.',';
} else {
$columns .= $i;
}
}
$js .= '
if (dt_'.$table_id.'.page.info().pages > 1) {
$("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers").show()
@ -3438,7 +3446,8 @@ function ui_print_datatable(array $parameters)
order : "current",
page : "All",
search : "applied"
}
},
columns: [1,'.$columns.']
}
}
],