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 专家联络!