Grid
High-performance, flexible spreadsheet control
Extends
Constructors
new Grid()
new Grid(
dart):Grid
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Source
Properties
| Property | Modifier | Type | Default value | Description | Inherited from |
|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | Viewer._functions |
_properties | protected | Property[] | [] | - | Viewer._properties |
_root | protected | HTMLElement | undefined | - | Viewer._root |
dart | public | any | undefined | - | Viewer.dart |
factory | public | null | Func | null | Constructor function. No parameters, returns [Widget]. | Viewer.factory |
isDetached | public | boolean | false | - | Viewer.isDetached |
props | public | IGridSettings & ObjectPropertyBag | undefined | - | Viewer.props |
subs | public | Subscription[] | undefined | - | Viewer.subs |
tags | public | any | undefined | - | Viewer.tags |
temp | public | any | undefined | Contains auxiliary information | Viewer.temp |
CORE_VIEWER_TYPES | static | string[] | ... | - | Viewer.CORE_VIEWER_TYPES |
Accessors
canvas
getcanvas():HTMLCanvasElement
Returns
HTMLCanvasElement
Source
children
getchildren():Widget<any>[]
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Source
colHeaderBox
getcolHeaderBox():Rect
Column labels box
Returns
Source
colHeaderHeight
getcolHeaderHeight():number
Column labels height
Returns
number
Source
columns
getcolumns():GridColumnList
Grid columns.
Returns
Source
dataFrame
getdataFrame():DataFrame
setdataFrame(t):void
Parameters
| Parameter | Type |
|---|---|
t | DataFrame |
Returns
Source
descriptor
getdescriptor():WidgetDescriptor
Descriptor of this widget.
Returns
Source
filter
getfilter():BitSet
combined filter of the viewer
setfilter(f):void
Parameters
| Parameter | Type |
|---|---|
f | BitSet |
Returns
Source
helpUrl
gethelpUrl():string
Help URL
sethelpUrl(s):void
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
string
Source
horzScroll
gethorzScroll():RangeSlider
Horizontal scroll bar
Returns
Source
meta
getmeta():ViewerMetaHelper
Returns
Source
onAfterDrawContent
getonAfterDrawContent():Observable<EventData<any>>
Returns
Observable <EventData<any>>
Source
onAfterDrawOverlay
getonAfterDrawOverlay():Observable<EventData<any>>
Returns
Observable <EventData<any>>
Source
onBeforeDrawContent
getonBeforeDrawContent():Observable<EventData<any>>
Returns
Observable <EventData<any>>
Source
onBeforeDrawOverlay
getonBeforeDrawOverlay():Observable<EventData<any>>
Returns
Observable <EventData<any>>
Source
onCellClick
getonCellClick():Observable<GridCell<any>>
Returns
Observable <GridCell<any>>
Source
onCellDoubleClick
getonCellDoubleClick():Observable<GridCell<any>>
Returns
Observable <GridCell<any>>
Source
onCellKeyDown
getonCellKeyDown():Observable<GridCell<any>>
Returns
Observable <GridCell<any>>
Source
onCellMouseDown
getonCellMouseDown():Observable<GridCell<any>>
Returns
Observable <GridCell<any>>
Source
onCellMouseEnter
getonCellMouseEnter():Observable<GridCell<any>>
Returns
Observable <GridCell<any>>