You can display tooltips when resizing or scrolling in the control or when dragging or moving data.
The following image displays a scroll tip.
The drag drop tip display is different depending on the setting of the referenceStyle property in the Workbook method. The following image displays the A1 reference style for the drag drop tip.
The following image displays a drag drop tip.
Using Code
This example displays tooltips.你可以在缩放或滚动工作表的时候显示提示信息,如下图
单元格拖拽显示的提示信息取决于 Workbook 方法上的 referenceStyle 属性。
以下图片展示了在拖拽时显示提示信息。提示信息使用了 A1
示例代码
以下代码显示了提示信息。
JavaScript | Copy Code |
spread.options.showDragDropTip = true;spread.options.showDragFillTip = true;spread.options.showScrollTip = GC.Spread.Sheets.ShowScrollTip.Both;spread.options.showResizeTip = GC.Spread.Sheets.ShowResizeTip.Both; |
|
See Also另见
Workbook Method