corrects reviewAnrechnungDetail style typo, and adds the height function to the adminAnrechnung table again

This commit is contained in:
SimonGschnell
2024-04-23 13:43:00 +02:00
parent bebec98285
commit 96b79c8740
4 changed files with 10 additions and 9 deletions
@@ -20,16 +20,17 @@ $filterWidgetArray = array(
ucfirst($this->p->t('ui', 'bearbeitetVon')),
),
'datasetRepOptions' => '{
layout: "fitColumns",
height: func_height(this),
layout: "fitDataFill",
persistentLayout:true,
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
headerFilterPlaceholder: " ",
index: "anrechnungszeitraum_id", // assign specific column as unique id (important for row indexing)
selectable: false, // allow row selection
tableWidgetHeader: true,
columnDefaults:{
headerFilterPlaceholder: " ",
}
tableBuilt: function(){
func_tableBuilt(this);
},
}',
'datasetRepFieldsDefs' => '{
anrechnungszeitraum_id: {visible: false, headerFilter:"input"},
@@ -124,7 +124,7 @@ if ($configFachbereichsleitung === TRUE) {
$filterWidgetArray = array(
'query' => $query,
'bootstrapVersion'=>5,
'bootstrapVersion' => 5,
'tableUniqueId' => 'approveAnrechnungUebersicht',
'requiredPermissions' => 'lehre/anrechnung_empfehlen',
'datasetRepresentation' => 'tabulator',
@@ -173,7 +173,7 @@ $filterWidgetArray = array(
//columnDefaults tooltip did not work
tooltip:true,
tooltip:func_tooltips,
headerFilterPlaceholder: " ",
}