Wijmo 2021 v3

Released: Nov 10, 2021

2021 v3 中的更新

特性

  • [wijmo.pdf]
    • Moved to PDFKit 0.12.
    • Added PdfTextBaseline enumeration, added IPdfTextSettings.baseline property, added baseline property to the IPdfTextSettings interface.
    • Added accessibility support and made the following relevant changes in the API:
      • Added displayTitle, lang and tagged properties to the PdfDocument class and IPdfDocumentOptions interface.
      • Added tag and addTag methods to the PdfDocument class.
      • Added beginTagContent, endTagContent, tagContent, beginArtifact, endArtifact and artifact methods to the PdfPageArea class.
      • Added IPdfArtifactOptions, IPdfTagContentOptions, IPdfTagOptions, IPdfTag and IPdfTagContent interfaces.
      • Added PdfTagType, PdfArtifactType and PdfPageEdge enumerations.
      • Added PdfTagOrContent type.
      • Added PDF/Accessibility sample that demonstrates the feature.
  • [wijmo.grid.pdf]
    • Added the ability to produce a Tagged PDF when exporting. To enable it you should set the documentOptions.tagged property in the export settings to true.
    • Added tagContent property to the PdfFormatItemEventArgs class.
    • Added Grid/ImportExportPrint/PDF/Accessibility sample that demonstrates the feature.
  • [Xlsx] Improved documentation for IFlexGridXlsxOptions.
  • Improved saveFile method to support saving a Blob object to a file.
  • [InputNumber] From now on, when you type figures from the keyboard, extra decimal places are truncated and not rounded.
  • [PivotGrid] Improved performance of the column dataType determination.
  • [PivotEngine] To determine each PivotField's dataType, PivotEngine can now scan all rows, instead of the first 1000 rows as before. In some rare cases this change may bring performance penalties.
  • [Control] Added the tabOrder property, which allows you to dynamically read or change the tabindex attribute value associated with the control.

修补程序

  • [Angular] Change detection is not working in some cases. (WJM-20916, WJM-13724)
  • [ComboBox] [Angular] ComboBox remains disabled when binding isDisabled property with unintialized class variable and asynchronously updating the dataSource. (WJM-20494)
  • [Core] toFixed function called with truncate = true doesn't truncate the passed value if its string representation (value.toString()) is in scientific notation. (WJM-21125)
  • [FlexGrid]: On setting tabIndex dynamically, the tab move behavior is incorrect. (WJM-20842)
  • [FlexGrid] Fixed incorrect alignment in column headers when using column groups. (WJM-19985)
  • [FlexGrid] Parent cells' content appears in bold on exporting TreeGrid to Excel. (WJM-19942)
  • [FlexGrid] 'treeIndent' setting is not applied in exported Excel when export grouping grid with 'treeIndent' setting to Excel. (WJM-19651)
  • [FlexGrid] [FlexSheet] On export in excel IE the open option doesn't appear. (WJM-20422)
  • [FlexGrid] Fixed the issue when the 'rowAdded' event is fired for each cell, instead of each row. This issue has been observed when pasting the multiple rows from clipboard at the bottom new row template. (WJM-20769)
  • [FlexGrid] Fixed issue where the 'rowAdded' event is not fired when pasting the multiple rows at the top new row template. (WJM-20768)
  • [FlexGrid] The 'click' event is not fired for cells created by CellMaker in IE11/FF. (WJM-19585)
  • [FlexSheet] [Tables] When changing table column header, dependent formula is not updated. (WJM-12840)
  • [FlexSheet] Script error occurs after reordering the row and deleting the rows. (WJM-18794)
  • [FlexSheet][Query] Unlike MS Excel, both smart-tag and context menu close when pressing the 'Esc' key from the keyboard. (WJM-19395)
  • [FlexSheet] The bottom and right borderlines of the A1 cell of the unbound sheet are not shown if 'showGroups' property is set as 'true' at design time. (WJM-18856)
  • [FlexSheet] Incorrect behaviors are observed when data-map of cells and Boolean cell are converted to table and exported the excel file. (WJM-20795)
  • [FlexChart] Fixed the problem with incorrect call of itemFormatter for FlexRadar's axes. (WJM-19421)
  • [FlexChart] Funnel chart now works correctly with unsorted data values. (WJM-18758)
  • [FlexChart] Improved automatic label generation for time axes. (WJM-18955)
  • [FlexChart] Improved automatic label rotation for x-axis labels. (WJM-21197)
  • [FlexPie] FlexPie.innerText/innerTextStyle properties added to the interop. (WJM-20787)
  • [FlexMap] Fixed exception with FlexMap.zoomTo() method when control's size is small. (WJM-20107)
  • [FlexMap] Added error message when trying to use animation with FlexMap. (WJM-20145)
  • [InputDate] Dropdown calendar is showing incorrect month's calendar after the date value is removed from the input box. (WJM-20150)
  • [InputMask] Internal input element doesn't change its width along with the control's host element. Note that this fix can add extra padding to the input element for controls of small width (less then 150px) when used in IE. See Breaking Changes topic for the details. (WJM-20593)
  • [InputNumber] The control showed incorrect value when a number is entered at a certain place after the decimal when format is set to percentage. (WJM-21126)
  • [InputNumber] On pressing enter key, form is not getting submitted. (WJM-20423)
  • [Interops][FlexGrid] For FlexGrid with autoRowHeights set to true, custom editors in CellEdit templates may not work correctly. (WJM-20781)
  • [ListBox] ListBox control gets focus when isDisabled is true and itemsSource is changed while navigating with Tab key. (WJM-21234)
  • [ListBox/MultiSelect/MultiSelectListBox] The checkedItemsChanged event may not fire when checkedItems has changed, and fire when checkedItems didn't change. (WJM-20321)
  • [MultiSelect] checkedItems return incorrect results when the items are checked/unchecked from bottom to top. (WJM-20875)
  • [MultiSelectListBox] Incorrect behavior of MultiSelectListBox when clicking to the left of the checkbox. (WJM-20931)
  • [MultiSelectListBox] After some item was selected in the control, Tab navigation out of the control stopped working. See also Breaking Changes section for more details. (WJM-21290)
  • [PdfViewer] Page view does not show in some browsers after the browser zoom is resized into zoom out. (WJM-20846)
  • [PivotEngine] 'aggregate' property value can be auto detected and overridden even if the property value was set explicitly.
  • [PivotGrid] [PivotEngine] Issue in sorting on setting property 'totalsBeforeData'. (WJM-20340)
  • [PivotGrid] Expand/Collapse of Row does not work properly when rowField is center aligned. (WJM-20895)
  • [PivotGrid] When performing auto-sizing, the data on the column gets sorted. (WJM-21039)
  • [PivotGrid] Incorrect behavior of PivotGrid control when outlineMode is set to true. (WJM-21287)
  • [PopUp][React] DOM event handlers are not triggered on elements inside Popup components in React 17. (WJM-20561)
  • [PopUp][React] Destroying a Popup component can raise an exception if the Popup has been shown at least once.
  • [Viewer] Resizing the control in IE may cause an error reported in the browser console. (WJM-20790)
  • [Wijmo5][Olap][PivotEngine] Any fields settings can't work as well at the values which are with Calculated Aggregate column. (WJM-20078)
  • Breaking Changes:
    • [httpRequest] When sending JSON data, the Content-Type request header is no longer set to "application/json" if it is provided by the user via options.requestHeaders.
    • FlexGrid] Now when a user is pasting rows from the clipboard at the bottom new row:
      • 1. When adding the first row, the 'rowAdded' event will be fired after the 'pasting' event and before the 'rowEditStarting' event for the currently added row.
      • 2. When adding the next rows after the first one, the 'rowAdded' event will be fired after the 'rowEditEnded' event for the previously added row and before the 'rowEditStarting' event for the currently added row. In the previous builds, the 'rowAdded' event was fired after the 'rowEditStarted' event and before the 'pastingCell' event. As a result of new behavior, if the 'rowAdded' event is cancelled, the 'rowEditStarting', 'rowEditStarted', 'rowEditEnding' and 'rowEditEnded' events will not be fired.
    • [FlexGrid] Now when a user is pasting multiple rows from clipboard at the top new row:
      • 1. When adding the first row, the 'rowAdded' event will be fired after the 'pasting' event and before the 'rowEditStarting' event for the currently added row.
      • 2. When adding the next rows after the first one, the 'rowAdded' event will be fired after the 'rowEditEnded' event for the previously added row and before the 'rowEditStarting' event for the currently added row. In the previous builds, the 'rowAdded' event was not fired in such a scenario. As a result of new behavior, if the 'rowAdded' event is canceled, the 'rowEditStarting', 'rowEditStarted', 'rowEditEnding' and 'rowEditEnded' events will not be fired.
    • [FlexGrid] Now when a user is editing or pasting a single row from clipboard at the top new row, the 'rowAdded' event will be fired after the 'rowEditEnded' event. In the previous builds, the 'rowAdded' event was fired after the 'rowEditEnding' event and before the 'rowEditEnded' event.
    • [InputNumber] From now on, when you type figures from the keyboard, extra decimal places are truncated and not rounded. (WJM-20917)
    • [PivotEngine] To determine each PivotField's dataType, PivotEngine can now scan all rows, instead of the first 1000 rows as before. This may bring performance penalties in case of big data arrays with sparse data with non-null values appeared closer to the end of the array. If this behavior brings unwanted performance penalties, you can get rid of it by explicitly specifying dataType for each PivotField.
    • [InputMask] The width of the internal input element is changing now together with the width of the control. Previously, the internal input element didn't shrink in IE when control width was less than about 150px, so the padding internally defined for the input element was invisible. Now this padding is always visible and decreases working space of the input element. (WJM-20593)
    • [MultiSelectListBox] Tab navigation for the control now works in the same way as for ListBox. The tabindex attribute set on the control is propagated to the internal ListBox control. (WJM-21290)