Handsontable V7.1.0

從可處理的實例創建 HTML 表, 並從 HTML 表中獲取可處理的設置。
6月 12, 2019
新版本

特性

  • Added a new feature that allows users to parse HTML tables into Handsontable settings and Handsontable instances to plain HTML tables. This change introduces these new API methods:
    • Handsontable.helper.instanceToHTML: (instance: Handsontable.Core) => string – parses the provided Handsontable instance to an HTML table as a string
    • Handsontable.helper.htmlToGridSettings(element: Element | string, rootDocument?: Document) => Handsontable.DefaultSettings – analyzes a static HTML table and returns a Handsontable-compatible settings object
    • hotInstance.toTableElement: () => HTMLTableElement – converts the Handsontable instance to a static HTML table
    • hotInstance.toHTML: () => string – same as Handsontable.helper.instanceToHTML, but the instance is already bound
  • Added the possibility to return false from the beforeCreateCol hook to stop column creation.

修補程式

  • Fixed a bug where it wasn’t possible to block Undo/Redo plugin keyboard shortcuts.
  • Corrected the ManualColumnMove type definitions.
  • Fixed a problem with pasting multi-line data from Excel and Google Sheets.
  • Fixed a bug where it wasn’t possible to paste merged cells from Excel.
  • Fixed a problem with copying cells with longer content from Excel or Google Sheets.
  • Fixed a problem with Handsontable not adding the carriage return character to pasted data.
  • Fixed some NestedRows performance issues on large datasets.
  • Fixed a bug where placing SVG in a cell caused a ManualColumnMove error.
  • Fixed a bug where using the Undo functionality did not revert the selection to its original position.
  • Fixed a bug where the getCell method, when used with the topmost argument set to true, did not return the correct cell elements from the bottom overlay.
Handsontable

Handsontable

外觀和感覺像試算表的 JavaScript 資料網格。

有任何疑問嗎?

Live Chat現在與我們的Handsoncode 專家即時聊天詢問。