dw-dropdowndatawindow

Adds supports for [DropdowndatawindowComponent]

Implementation Details

Component Selector: 'wm-dw-dropdowndatawindow'

Description

In order to load DropDownDataWindow is necessary to have a pointer reference like:

"p": [ "->DddwData#type#14", "15" ]

DddwData is the way that we identify that the following component type#14 is going to load datawindow with id 15

Class inheritance

DropdowndatawindowComponent extends ColumnControlComponent.

Support

Properties

Property

Get/Set

Notify Changes

Details

allowEditing: boolean

Yes/No

Yes

Defines if dropdowndatawindow value is editable.

dddwlines: number

Yes/No

Yes

Returns DddwLines if is sended from dropdownDataControl.

percentwidth: number

Yes/No

Yes

Returns PopUp width.

dddwDataColumn: string

Yes/No

Yes

Returns a string with logic value column.

dddwDisplayColumn: string

Yes/No

Yes

Returns a string with visual display column.

value: any

Yes/No

Yes

Match correct dddwDisplayColumn and returns it.

Events

Event

Supported

Parameter

Details

None

None

None

None

Functions

Function

Supported

Details

close

Yes

Close dialog window.

columnNamePosition

Yes

Sets displayPosition with indexOf dddwDisplayColumn.

columnValuePosition

Yes

Sets valuePosition with indexOf dddwDataColumn.

dateFormatValidation

Yes

Date format validations

onToggle

Yes

Use to handle popUp open and close.

validateData

Yes

Validates new data with column type.

validateIndexOf

Yes

Returns IndexOf dddwData.

validateStringType

Yes

Validates if value match with current column type.

validateStringLength

Yes

Validates if value is not bigger than columnTypeNumber

Last updated