无法显示/隐藏dx-field-label和dx-text-box

时间:2019-04-04 19:11:25

标签: dx-data-grid

无法根据条件从UI隐藏/显示dx-field-label和dx-field-value

我尝试了itemoption但它不起作用

.html:

<div class="dx-field">
<div class="dx-field-label">Data</div>
<div class="dx-field-value">
<div dx-text-box="$ctrl.dataOptions"></div>
</div>
</div>

.js:

ctrl.dataOptions = {     禁用:正确,     bindingOptions:{       值:“ $ ctrl.NewData”       }     };

要根据条件从用户界面隐藏/显示dx-field-label和dx-field-value

0 个答案:

没有答案