![](/img/trans.png)
[英]How to add required validation in dx-list of devextreme control for angular?
[英]How to customize dropdown button in dx-toolbar (DevExtreme)?
我在 Angular(v8.2.14) 中使用 DevExtreme(v20.1.4) 工具欄組件。
當我放置一個dx-toolbar
並為工具欄項設置locateInMenu="always"
時,我看到一個帶有dx-icon-overflow
的下拉按鈕。
有什么方法可以自定義此按鈕以使其上有一個字符串?
我使用 CSS 來更新該下拉按鈕。
.customized-toolbar .dx-toolbar-button .dx-dropdownmenu-button .dx-button-content {
& > i {
display: none !important;
}
&:after {
display: block;
content: 'Other Actions';
color: white;
line-height: 18px;
font-size: 14px;
}
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.