ColumnsPanel class
Extends
Section titled “Extends”- addColumn
- addNewColumn
- areCustomExpressionsAllowed
- belongsToGroup
- destroy
- getColumnsBlock
- getContext
- getMoveMenuList
- getSortMenuList
- getWidgetType
- init
- moveColumn
- onProcessEnd
- onProcessStart
- refresh
- showEntitiesMenu
- toggleColumnPicked
Constructors
Section titled “Constructors”constructor
Section titled “constructor”⊕ new ColumnsPanel(slot: HTMLElement
): ColumnsPanel
Parameters:
Section titled “Parameters:”- slot:
HTMLElement
Public Properties
Section titled “Public Properties”● id: string
moveMenu
Section titled “moveMenu”● moveMenu: PopupMenu
sortMenu
Section titled “sortMenu”● sortMenu: PopupMenu
Protected Properties
Section titled “Protected Properties”context
Section titled “context”● context: EqContext
● group: WidgetGroup
● slot: HTMLElement
Protected Accessors
Section titled “Protected Accessors”cssPrefix
Section titled “cssPrefix”⇄ get cssPrefix(): string
Returns string
Public Methods
Section titled “Public Methods”addColumn
Section titled “addColumn”▸ addColumn(column: QueryColumn | QueryColumn[],index?: number
): void
Parameters:
Section titled “Parameters:”- column: QueryColumn | QueryColumn[]
- index:
number
, Optional
Returns void
addNewColumn
Section titled “addNewColumn”▸ addNewColumn(attrId: string
,index?: number
): QueryColumn
Parameters:
Section titled “Parameters:”- attrId:
string
- index:
number
, Optional
Returns QueryColumn
▸ addNewColumn(attrId: string
[],index?: number
): QueryColumn[]
Parameters:
Section titled “Parameters:”- attrId:
string
[] - index:
number
, Optional
Returns QueryColumn[]
areCustomExpressionsAllowed
Section titled “areCustomExpressionsAllowed”▸ areCustomExpressionsAllowed(): boolean
Returns boolean
belongsToGroup
Section titled “belongsToGroup”Returns true
if the widget belongs to one of the groups specified in the parameter
▸ belongsToGroup(groups?: WidgetGroup): boolean
Parameters:
Section titled “Parameters:”- groups: WidgetGroup, Optional -
Returns boolean
destroy
Section titled “destroy”▸ destroy(): void
Returns void
getColumnsBlock
Section titled “getColumnsBlock”▸ getColumnsBlock(): HTMLElement
Returns HTMLElement
getContext
Section titled “getContext”Returns current context (the one this widget belongs to)
▸ getContext(): EqContext
Returns EqContext
getMoveMenuList
Section titled “getMoveMenuList”▸ getMoveMenuList(): any
[]
Returns any
[]
getSortMenuList
Section titled “getSortMenuList”▸ getSortMenuList(): any
[]
Returns any
[]
getWidgetType
Section titled “getWidgetType”▸ getWidgetType(): string
Returns string
▸ init(context: EqContext,options?: ColumnsPanelOptions): void
Parameters:
Section titled “Parameters:”- context: EqContext
- options: ColumnsPanelOptions, Optional
Returns void
moveColumn
Section titled “moveColumn”▸ moveColumn(column: QueryColumn,direction: string
): void
Parameters:
Section titled “Parameters:”- column: QueryColumn
- direction:
string
Returns void
onProcessEnd
Section titled “onProcessEnd”This function is called on the end of some process this widget participates in. For example, some widgets should be updated on model loading or after the execution of the current query
▸ onProcessEnd(): void
Returns void
onProcessStart
Section titled “onProcessStart”This function is called on the start of some process this widget participates in. For example, some widgets can show a spinner or a progress bar at the beginning of some long process (e.g. model loading).
▸ onProcessStart(): void
Returns void
refresh
Section titled “refresh”Refreshes the widget’s content
▸ refresh(): void
Returns void
showEntitiesMenu
Section titled “showEntitiesMenu”▸ showEntitiesMenu(menuOptions: any
): void
Parameters:
Section titled “Parameters:”- menuOptions:
any
Returns void
toggleColumnPicked
Section titled “toggleColumnPicked”▸ toggleColumnPicked(column: QueryColumn): void
Parameters:
Section titled “Parameters:”- column: QueryColumn
Returns void
Protected Methods
Section titled “Protected Methods”destroyCore
Section titled “destroyCore”▸ destroyCore(): void
Returns void
onProcessEndCore
Section titled “onProcessEndCore”▸ onProcessEndCore(): void
Returns void
onProcessStartCore
Section titled “onProcessStartCore”▸ onProcessStartCore(): void
Returns void
refreshCore
Section titled “refreshCore”▸ refreshCore(): void
Returns void
renderBaseElements
Section titled “renderBaseElements”▸ renderBaseElements(): void
Returns void