Shell
Grok visual shell, use it to get access to top-level views, tables, methods, etc.
Example
grok.shell.addTableView(grok.data.demo.biosensor(1000));
Constructors
new Shell()
new Shell():
Shell
Returns
Properties
| Property | Type | Default value |
|---|---|---|
build | AppBuildInfo | ... |
settings | Settings & SettingsInterface | ... |
windows | Windows | ... |
Accessors
bottomPanel
getbottomPanel():HTMLDivElement
Returns
HTMLDivElement
Source
browsePanel
getbrowsePanel():BrowsePanel
Returns
Source
dockManager
getdockManager():DockManager
Returns
Source
favorites
getfavorites():Entity[]
Returns
Entity[]
Source
lastError
getlastError():Promise<undefined|string>
Last error state
setlastError(s):void
Parameters
| Parameter | Type |
|---|---|
s | any |
Returns
Promise<undefined | string>
Source
o
geto():any
Current object (rendered in the context panel)
seto(x):void
Parameters
| Parameter | Type |
|---|---|
x | any |
Returns
any
Source
project
getproject():Project
Current project
Returns
Source
sidebar
getsidebar():TabControl
Returns
Source
startUri
getstartUri():string
Returns
string
Source
t
gett():DataFrame
Current table, or null.
Returns
Source
tableNames
gettableNames():string[]
Names of the currently open tables
Returns
string[]
Source
tableViews
gettableViews():Iterable<TableView>
Returns currently open table views
Returns
Iterable <TableView>
Source
tables
gettables():DataFrame[]
List of currently open tables
Returns
Source
topMenu
gettopMenu():Menu
Returns
Source
topPanel
gettopPanel():HTMLDivElement
Returns
HTMLDivElement
Source
tv
gettv():TableView
Current table view, or null
Returns
Source
user
getuser():User
Current user
Returns
Source
v
getv():ViewBase
Current view
setv(view):void
Parameters
| Parameter | Type |
|---|---|
view | ViewBase |