mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3648 - Feedback alpha 3.0 : finish relation edition
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<input type="hidden" name="attr_{{ oUIBlock.GetRef() }}" value="">
|
||||
|
||||
{% set columns = oUIBlock.GetColumns() %}
|
||||
<table id="{{ oUIBlock.GetId() }}" class="ibo-datatable listResults{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}" style="width:100%;">
|
||||
<table id="{{ oUIBlock.GetId() }}" class="ibo-datatable listResults{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}" >
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in columns %}
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
$('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
var table{{ oUIBlock.GetId()|sanitize_identifier }}= $('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
language: {
|
||||
emptyTable: "{{ 'UI:Message:EmptyList:UseAdd'|dict_s }}"
|
||||
},
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
filter: false,
|
||||
search: false,
|
||||
dom: "t"
|
||||
});
|
||||
dom: "t",
|
||||
});
|
||||
|
||||
|
||||
//table{{ oUIBlock.GetId()|sanitize_identifier }}.columns.adjust().draw();
|
||||
//$(".dataTables_scrollBody thead").hide();
|
||||
Reference in New Issue
Block a user