[]
        
(Showing Draft Content)

GC.Spread.Sheets.StatusBar

命名空间: StatusBar

Spread.Sheets.StatusBar

Table of contents

命名空间

接口

函数

Functions

findControl

findControl(host): StatusBar

通过宿主元素获取状态栏实例

代码示例

var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
var spanItem = new GC.Spread.Sheets.StatusBar.StatusItem('spanItem', {menuContent: 'current span', value: 'span test'});
var statusBar = new GC.Spread.Sheets.StatusBar.StatusBar(
document.getElementById('statusBar'),
{ items: [spanItem] }
);
statusBar.bind(spread);
var statusBarInstance = GC.Spread.Sheets.StatusBar.findControl('statusBar');

参数

属性名 类型 说明
host string | HTMLElement 宿主元素或宿主元素id

返回值

StatusBar

状态栏实例