2.0.8
Key updates November 2024
CXBOX (Demo)
Added: GroupingHierarchy widget - counter
We have added a counter for grouping fields to display the number nested rows with data. You configure it with counterMode
(possible values: always
, collapsed
and default none
)
Added: GroupingHierarchy widget - nodes expanded by default
It is now possible configure expanded by default (defaultExpanded
= true
) nodes of GroupingHierarchy widget
Note! To reduce user clicks we always expand groups, that will use only 1 row, when expanded. So, when defaultExpanded
is false
or null
, then nodes are by default 'smartly' collapsed:
- groups with 1 or 0 elements are expanded
- groups with more than 1 element are collapsed.
Changed: Additional Info widget - style
We have updated the style of Additional Info widget.
Added: Additional List widget - new widget type!
We have introduced a new widget type - AdditionalList
, which can display multiple data rows
- In this release: one must provide
.widget.json -> options -> read
parameter, that points toAdditionalInfo
widget used to render each data row - In next releases: one will be able to skip
.widget.json -> options -> read
parameter, e.g. renderAdditionalList
rows with defaultList
-like style
Added: Dictionary field - icon support
It is now possible to set icon for a dictionary
field. Using the mode
parameter, you can either set it to default
(displays both the icon and text) or icon
(displays only icon).
Also, tooltip always appears on icon hover.
Added: View - widget groups support
You can now group multiple widgets together and collapse or expand them. The first widget in the group gets an icon to control collapsing. When collapsed, all widgets in the group become hidden except for the title of the first widget. The group of widgets is displayed as expanded by default.
Other Changes
CXBOX (Core Ui)
Added: parameter for displaying icon in dictionary fields
We have added support for icons to Dictionary field under a new allValues
tag. Each entry in allValues
includes an icon
attribute, allowing configuration of the icon`s direction (ANT or custom) and color according to the corresponding value.
Other Changes
CXBOX 4.0.0-M11 (Core)
Changed: Icon handling methods for dictionary fields
Such methods as setIconWithValue()
and setFilterValuesWithIcons()
are now marked as @Deprecated
. They have been replaced by a new method setAllValuesWithIcons()
, which is applicable for both LOV and Enum types
Added: parameter for managing default display mode for Default Grouping Hierarchy
A new Boolean defaultExpanded
has been introduced.
Other Changes
see cxbox changelog
CXBOX documentation
Added: Dictionary - Icon section
We have added a full description of Icon in Dictionary field.