From 359ffd24d2403ace5e323e69c3ff86230b03fdcb Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Tue, 13 Dec 2016 00:15:25 +0000 Subject: [PATCH] #1195 add scroll to completed dynamic table --- .../display-value/display-value.widget.css | 6 +++++ .../display-value/display-value.widget.html | 27 ++++++++++--------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css index e896055f8c..7d993f6f16 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css +++ b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css @@ -16,6 +16,12 @@ width: 100%; } +.display-value-dynamic-table-widget__table-container { + overflow-y: auto; + width: 100%; +} + + .upload-widget { width:100%; word-break: break-all; diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html index 04e7803ffb..3dcd5372b5 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html +++ b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html @@ -14,12 +14,12 @@ class="mdl-textfield mdl-js-textfield text-widget"> + *ngIf="field?.isVisible" + class="mdl-textfield__input" + type="text" + [attr.id]="field.id" + [value]="value" + disabled>
@@ -44,26 +44,29 @@
+
{{field.name}}
- - +
+
+ - - + + - -
{{column.name}}
{{ getCellValue(row, column) }}
+ + +