C1TrueDBGrid

Implementation Details

Component Selector: 'wm-c1truedbgrid'

Class inheritance

C1TrueDBGridComponent extends GridComponent.

PME Support

Properties

Property

Get/Set

Notify Changes

Details

text: string

Yes

Yes

Inherited from ControlComponent see ControlComponent.

name: string

Yes

No

Inherited from ControlComponent see ControlComponent.

enabled: boolean

Yes

No

Inherited from ControlComponent see ControlComponent.

visible: boolean

Yes

No

Inherited from ControlComponent see ControlComponent.

disabled: string

Yes

No

Set property disabled if it is required.

items: any[]

Yes

No

Gets a collection containing all items in the control see GridComponent.

row: number

Yes

Yes

Gets or sets the rows.

col: number

Yes

Yes

Gets or sets the cols.

allowUpdate: boolean

Get

No

Gets the value if the component can be updated.

isEditing: boolean

Yes

Yes

Gets the value if the component is editing.

refresh: boolean

Yes

No

Indicates whether the component has to obtain new data from the server.

rowHeigth: number

Yes

No

Gets the grid's height for each row in pixels.

CellTips: boolean

Get

No

Decides if the cells will show a tooltip.

CellTipsWidth: number

Get

No

Returns the width in pixels to be set in cell tooltip.

CellTipsDelay: number

Get

No

Returns the time in milliseconds to display the tooltip.

recordSelectors: boolean

Get

No

Returns the value for RecordSelectors property.

refreshColumns: boolean

Yes

Yes

Indicates whether the component has to obtain new columns from the server.

DisplayColumn

Property

Details

backcolor: string

Gets or sets the background color.

forecolor: string

Gets or sets the foreground color.

font: string

Gets or sets the Font.

horizontalalignment: number

Gets or sets the horizontal text alignment.

verticalalignment: number

Gets or sets the vertical text alignment.

locked: boolean

Gets or sets a value indicating whether data entry is permitted for the associated object.

wrap: number

Gets or sets a value indicating whether text is wrapped when it does not fit into a layout shape.

Methods

Method

Supported

Details

setSelectableSettings: void

Yes

Sets selection mode of the component see GridComponent

Events

Event

Supported

Parameter

Details

cellClick

Yes

$event: any

Triggered when a cell is clicked. $event parameter is optional and the $event object vary depending on the type of DOM event.

cellClose

Yes

$event: any

Triggered when a cell editor is closed. $event parameter is optional and the $event object vary depending on the type of DOM event.

beforeColEditEventHandler : any

Yes

$EventData: any

Triggered before edit the cell.

editEventHandler : any

Yes

$EventData: any

Triggered when the cell is being edited

rowColChangeEventHandler : any

Yes

$EventData: any

Triggered when a row or column is selected.

headClickEventHandler : any

Yes

$EventData: any

Triggered when a row or column is selected.

DoubleClick

Yes

$event: any

Trigger DoubleClick Event. $event parameter is optional and the $event object vary depending on the type of DOM event.

Last updated