[]
        
(Showing Draft Content)

GC.Spread.Sheets.StatusBar

Namespace: StatusBar

Spread.Sheets.StatusBar

Table of contents

Classes

Interfaces

Functions

Functions

findControl

findControl(host): StatusBar

Gets the StatusBar instance by the host element.

example

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');

Parameters

Name Type Description
host string | HTMLElement The host element or the host element id.

Returns

StatusBar

The StatusBar instance.