Release Notes > JTGO 4.0 Release Notes > New Features > Shelves |
Shelves |
PREVIOUS NEXT |
The shelf representation has been improved with more flexibility in slot label customization. It is now possible to give any value to a slot label using the CSS property XSlotLabels
. This property can be customized in the following ways:
Consequently, the slot label can now be customized in two ways:
XSlotLabels
: Each slot may have a distinct label computed according to your application needs. This property has priority when using the standard shelf representation.
XSlotIndex
: Each slot label is computed based on the value of this attribute and the slot index in the shelf.
When displaying horizontal shelves, the slot label cannot exceed the slot width. If the label is wider than the slot, it is automatically truncated by the standard base renderer and "...
" is added to the label, as illustrated below:
#Shelf1 { XSlotLabels: "0, ALARM, 2A, 2B, 2C, 3, 4, 5, 6"; }
Copyright © Rogue Wave Software, Inc. 1997, 2016. All rights reserved. Legal terms. | PREVIOUS NEXT |