mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Reverted datatable to previous state due to visual bugs (#6331)
This commit is contained in:
parent
14b68e2568
commit
5a8f1b863a
13 changed files with 14 additions and 13 deletions
|
|
@ -280,7 +280,7 @@
|
|||
|
||||
/* Actions Column */
|
||||
{% if show_actions then %}
|
||||
columns.unshift({responsivePriority: 1, width: '5%', targets: -1, className: 'text-center text-nowrap', orderable: false, data: null, render: (_, type, dataRow) => {
|
||||
columns.push({responsivePriority: 1, width: '5%', targets: -1, className: 'text-center text-nowrap', orderable: false, data: null, render: (_, type, dataRow) => {
|
||||
const buttons = [
|
||||
{% if actions.show_info then %}
|
||||
{icon: 'fa fa-search-plus', title: "{{ i18n('info') }}", href: '#check_info'},
|
||||
|
|
@ -408,10 +408,12 @@
|
|||
|
||||
let config = DataTableUtils.getStdDatatableConfig(datatableButton);
|
||||
config = DataTableUtils.extendConfig(config, {
|
||||
autowidth: true,
|
||||
serverSide: true,
|
||||
searching: false,
|
||||
info: false,
|
||||
scrollX: true,
|
||||
responsive: true,
|
||||
order: [[ column_order_id, "{* datatable.order_sorting *}" ]],
|
||||
pagingType: '{{ datatable.pagination }}',
|
||||
columnDefs: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue