This minor release of the Visual Scheduling Widget Standard Edition (VSW SE for short) contains the following enhancements and improvements:
1. Using VSW as Web Component (Experimental)
The libraries containing VSW now provide an additional interface to the traditional widget. This is providing the same API as the widget with known method names including options. It is included in classic and ESM variants. The ESM variant has the advantage of being independent from CSS files.
The web component could make it easier to include the VSW into common frameworks.
A variant of the ESM SampleApp using the web component is provided.
We will enhance the web component from time to time following user requests.
2. Not One Text per Bar but One Text per Entry
Now the application can make use of one text per entry on activity and allocation bars. When used, then the text for the whole bar is not shown anymore. When this new feature is combined with using the other new feature of font attributes, the application can use it to emphasize important information on some bars.
3. Long-Awaited Font Attributes for Mostly All Texts
Up to now, all texts were shown with the same font attributes as font family, size, style, and weight. These attributes were inherited by the parent elements in the DOM. Only some texts like table titles had a fixed font size defined by the widget itself.
Now nearly all texts can be shown using font attributes set by the application. Currently, only timescale texts are fixed in size and the other font attributes cannot be set explicitly.
The application can define its own default for the font attributes now only be inheriting from DOM but by using options. On many data objects, there now are additional properties to define font family, size, style, and weight explicitly. These object types include bar texts on activities and allocations, table texts on activities, allocations, entities, grouping level definitions, resources, and skills. When using row definitions, the attributes can be set cell by cell. Other properties are existent for the table title, the date line captions, and period highlighter entries.
This gives plenty of possibilities for emphasizing some texts besides coloring, that was possible before. The application now can force its own look & feel also inside the widget.
BTW: Since all font attributes are put directly from option values and object properties into the DOM, the application can also use CSS variables if desired.
4. New Method getViewParameters
This method eases getting current view parameters such as scroll offsets and view extent for table area, time area, and entities table when needed by the application e.g. for session persistence. Before, one had to handle the callbacks onTimeAreaViewParametersChanged and onVerticalScrollOffsetChanged and save the values in the application.
5. Miscellaneous
Completion of Coloring Customization
New options verticalSplitterWidth and timescaleWeekendTextColor for further completing the adaptability.
Graphical enhancement on timescale
On the one hand, the scroll buttons in the timescale now are placed in the vertical middle of the timescale. On the other hand, the rectangle besides the timescale above the vertical scrollbar now is filled with the timescale background color.
Fixed bugs
As always, several bugs reported by customers and our team have been fixed.
Comments
0 comments
Please sign in to leave a comment.