Wijmo Enterprise 2020 v3

Released: Nov 11, 2020

2020 v3 中的更新

2020 v3 (Build 5.20203.766)

Updated Jan 20, 2021

Features

  • [TypeScript] Expanded type information for nullable properties (to support TS's strict mode).
  • [PDF] wijmo.pdf module can now be used in application with the "script-src 'self'" Content-Security-Policy setting.
  • [TransposedGrid] Added support for row groups instead of column groups (TFS 467929).
  • [CollectionView] improved change tracking: editing an item and then restoring its original property values now removes the item from the "itemsEdited" list.
  • [wijmo.cloud.Collection] now has a "getSubCollection" method that provides access to sub-collections in data items.
  • [UndoStack] now supports merged FlexGrid edits, restoring the grid selection after edit actions, the new InputDateRange control, and CollectionView-based change tracking.
  • [Calendar] improved accessibility by adding aria-label attributes to day and month elements.
  • [FlexGrid] The "select" and "startEditing" methods now support column names/bindings in addition to column index. Also, the GridPanel's "getCellBoundingRect", "getCellElement", and "getSelectedState" methods also support column names/bindings in addition to index.
  • [FlexGrid] the cellTemplate property can now be used in header columns. For example:
    // show row indices in the row header cells:
    let col = theGrid.rowHeaders.columns[0];
    col.cellTemplate = ctx => ctx.text || (ctx.row.index + 1).toString();
  • [FlexGrid] Users can now clear a column's current sort with touch. To remove a column's sort with the mouse, users can CTRL+click the column header. To remove a column's sort with touch, users can touch the column header to cycle through the three possible sort orders: ascending, descending, and none.
  • [FlexGridDetailProvider][MultiRow] The MultiRow control can now be used with the FlexGridDetailProvider class.
  • [FlexChart] Added Axis.axisLabels property that provides access to the actual axis labels. (TFS 467386).
  • [TreeView] Added a collapseWhenDisabled property that determines whether disabling nodes should automatically collapse them.
  • [ComboBox, Gauge, Calendar, InputNumber, InputDate] Added a handleWheel property that determines whether the control should handle mouse wheel events or defer them to the document.
  • [InputMask] Added an overwriteMode property to control whether typed characters should replace existing ones or be inserted before them.
  • [FlexGridSearch] Added a searchAllColumns property to determine whether the search should include invisible columns.
  • [Xlsx] The Workbook's "load" and "loadAsync" methods now accept an ArrayBuffer instance. Added type information to the "workbook" argument of the "load" and "loadAsync" methods of the FlexSheet and FlexGridXlsxConverter classes.
  • [wijmo.xlsx] Decimal entities in inline strings are now converted to Unicode.

Fixes

  • [ObservableArray] now notifies properly when the "shift" and "unshift" methods are called.
  • [TransposedMultiRow] Fixed issue when selection events are fired multiple times (TFS 467517).

2020 v3

Updated Nov 11, 2020

Features

  • [CollectionView] Added a calculatedFields property that allows you to add read-only, dynamic fields calculated based on other fields in the same data item.
  • [Calendar, InputDate] Added a DateSelectionMode.Range selection mode that allows users to select date ranges. Selected ranges are defined by the "value" and "rangeEnd" properties. You may specify the minimum and maximum valid range lengths with the "rangeMin" and "rangeMax" properties.
  • [Calendar, InputDate] Added a "monthCount" property that allows you to show multiple months in the same calendar control.
  • [Calendar, InputDate] Added a "weeksBefore" and a "weeksAfter" property that allows you to show additional weeks before and after the current month.
  • [Calendar] Now disables previous/next month buttons when the current display month reaches the max/min limits.
  • [CollectionView] Now raises the currentChanged event when the current item changes even if the position is the same (e.g., after filtering or changing the page size).
  • [CollectionView] getError method can be called with no specific property to check for errors in the whole data item (the error message returned shows in FlexGrid's row header cells).
  • [InputNumber] Now disables increment/decrement buttons when the value reaches the max/min limits.
  • [Menu] Added type information to the command property.
  • [MultiSelect, MultiSelectListBox] Now has delay and caseSensitiveSearch properties to enhance flexibility and improve consistency with the AutoComplete control.
  • [MultiSelectListBox] Now has a selectedIndex property (like the regular ListBox).
  • [MultiSelect, Menu] Now honors the headerPath property setting.
  • [ColorPicker] Ignores setting values to strings that do not represent colors.
  • [InputColor] Sets the value property to strings that do not represent colors used to raise the valueChanged event twice (once with the invalid value, once with the original value restored). Now it merely ignores the null assignment and presents no events.
  • [FlexGrid] Improved Column.editor property to work with Column.cellTemplate. In previous versions, columns with cellTemplate != null did not show drop-down buttons in columns with custom editors.
  • [FlexGrid] Honors the caseSensitiveSearch property setting when editing cells with dataMaps.
  • [FlexGrid] Improved the validation mechanism to show custom or multiple errors in the row header cells.
  • [FlexGridFilter] Condition filter now honors the FlexGrid.caseSensitiveSearch property.
  • [FlexPie] Added chartsPerLine property that allows controlling the layout of multiple pie charts.
  • [Vue] Added 'position' property to the wjTooltip directive, representing the Tooltip.position property of the pure JS class. To allow you to specify additional properties for the wjTooltip directive, it now accepts an object with multiple properties as its value, for example:
    <div v-wjTooltip="{tooltip: 'Some hint', position: 'Right'}">Some content</div>
  • [Angular] Added wjTooltipPosition property for the wjTooltip directive, representing the 'position' property of the pure JS Tooltip class.