mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°2737 - Migrate table to DataTables plugin in display objects
This commit is contained in:
@@ -11,10 +11,15 @@ var table{{ oUIBlock.GetId()|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_
|
||||
dom: "t",
|
||||
"order": [],
|
||||
{% if oUIBlock.GetOption("select_mode") is not empty %}
|
||||
{% if oUIBlock.GetOption("select_mode") !="custom" %}
|
||||
select: {
|
||||
style: "{{ oUIBlock.GetOption("select_mode") }}"
|
||||
},
|
||||
{% endif %}
|
||||
columnDefs: [
|
||||
{orderable: false, targets: 0}
|
||||
],
|
||||
{% endif %}
|
||||
});
|
||||
if ($('#{{ oUIBlock.GetId() }}').find('thead').is(':visible'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user