简体   繁体   中英

How to show specific color on top when multiple background colors are combined in nattable?

enter image description here

I added nattable configLabel to add background color.

But what if you want to display the blue color at the top when multiple background colors are combined?

The labels are managed in a LabelStack . The labels are interpreted top-down. That means if multiple labels are applied that all would have effect on the background color, the top most label wins. So if the blue color should win, the label that is responsible for the blue color needs to be on top of the label stack.

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