Handsontable Basics V7(one)

Handsontable Introduction

JavaScript data grid that looks and feels like a spreadsheet. Minimalistic, Excel-like grid component for web apps. Available for pure JavaScript, React, Vue, and Angular.

Rows and columns

Scrolling:给表格设置高和宽、overflow:hidden,超出的部分,将会出现滚动条。

colWidths: 100,
 '100%',
height: 320,
rowHeights: 23,

Fixing:固定显示前两行和左边两列。

fixedRowsTop: 2,
fixedColumnsLeft: 2,

Moving:行和列都可以通过鼠标移动。

manualRowMove: true,
manualColumnMove: true,

Header tooltips:鼠标放在标题上会显示提示,可以设置只有trimed的标题才显示。

headerTooltips: true,

pre-populating

编辑空行中的单元格后,beforeChange回调将使用模板值填充行。
原文地址:https://www.cnblogs.com/feiqiangsheng/p/12748810.html