简体   繁体   中英

How to customize dropdown button in dx-toolbar (DevExtreme)?

I'm using the DevExtreme(v20.1.4) toolbar component in Angular(v8.2.14).
When I place a dx-toolbar and set locateInMenu="always" for toolbar items, I see a dropdown button with dx-icon-overflow .

Is there any way to customize this button to have a string on it?

I used CSS to update that dropdown button.

.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;
  }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM