!!!###!!!title=聚焦高亮——VisActor/VTable 教程文档!!!###!!!!!!###!!!description=VTable 提供聚焦高亮插件,支持聚焦高亮指定区域。<div style="display: flex; justify-content: center;"> <img src="https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/preview/invert-highlight.png" style="flex: 0 0 50%; padding: 10px;"></div>!!!###!!!

聚焦高亮插件

VTable 提供聚焦高亮插件,支持聚焦高亮指定区域。

聚焦高亮插件配置项

  • FocusHighlightPlugin 聚焦高亮插件,可以配置以下参数:
    • fill 聚焦高亮背景色
    • opacity 反选高亮透明度
    • highlightRange 初始化聚焦高亮范围
export interface FocusHighlightPluginOptions {
  fill?: string;
  opacity?: number;
  highlightRange?: CellRange;
}

使用示例:

具体使用参考demo