RealGrid2 API
Interface
ColumnObject

ColumnObject

Base class for column-related classes

Signature:

export interface ColumnObject

Remarks

All properties of ColumnObject can be called only from ColumnHeader that inherits it.

[subclass]

ColumnHeader

ColumnSummary

Properties

PropertyTypeDescription
columnGridColumnColumn of ColumnObject
popupMenuConfigObject[]pop-up menu
popupMenuNamestringName of pop-up menu
templatestringHTML template to be applied and displayed
templateEventsTemplateEvent | TemplateEvent[]

Add events to generated elements.

See the description of TemplateCellRenderer

valuesanyValues used in template

Properties Desc

column

Column of ColumnObject

Type - GridColumn


popupMenu

pop-up menu

Type - ConfigObject[]

Remarks:

Used when registering a popupMenu directly in ColumnObject without registering it in gridView.


popupMenuName

Name of pop-up menu

Type - string

Remarks:

Specifies the name of the pop-up menu registered in gridView. See GridBase.addPopupMenu()


template

HTML template to be applied and displayed

Type - string

Remarks:

Refer to the description of TemplateCellRenderer


templateEvents

Add events to generated elements.

See the description of TemplateCellRenderer

Type - TemplateEvent | TemplateEvent[]


values

Values used in template

Type - any