GridEditEventInfo

개요

Grid 컴포넌트의 Cell 에 입력 컨트롤이 활성화 될 때 발생하는 이벤트에 전달되는 EventInfo 오브젝트입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




- Grid 의 oncloseup, ondropdown, onenterdown 이벤트 발생 시 전달되는 오브젝트입니다.

속성

cell

입력 컨트롤이 활성화 된 Cell 이 밴드에서 위치한 인덱스값을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.cell

문법 설정

var nCell = e.cell;

참고

- Cell 인덱스는 왼쪽에서 오른쪽으로 위에서 아래로 지정됩니다.

col

입력 컨트롤이 활성화 된 Cell 의 Column 인덱스값을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.col

문법 설정

var nCol = e.col;

참고

- Column 인덱스값은 왼쪽에서 오른쪽으로 지정됩니다.

eventid

이벤트의 ID를 갖는 읽기전용 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.eventid

문법 설정

var strEventid = e.eventid;

참고

- 이벤트에 핸들러로 등록된 함수의 이름이 아닌 발생한 이벤트명을 갖습니다.

fromobject

이벤트 발생의 원인이 되는 컴포넌트를 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.fromobject

문법 설정

var objComp = e.fromobject;

참고

- onlbuttondown 과 같이 상위로 전파되는 이벤트에서 fromobject 속성은 이벤트가 최초로 발생한 컴포넌트를 갖습니다.

fromreferenceobject

이벤트 발생의 원인이 되는 컴포넌트 또는 서브컨트롤을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.fromreferenceobject

문법 설정

var objComp = e.fromreferenceobject;

참고

- Calendar 와 같이 서브컨트롤이 있는 컴포넌트에서 서브컨트롤에 의해 이벤트가 발생한 경우 fromreferenceobject 속성은 서브컨트롤을 갖습니다.
  Button 과 같이 서브컨트롤이 없는 컴포넌트는 해당 컴포넌트를 갖습니다.

- onlbuttondown과 같이 상위로 전파되는 이벤트에서 fromreferenceobject 속성은 이벤트가 최초로 발생한 컴포넌트 또는 서브컨트롤을 갖습니다.

row

입력 컨트롤이 활성화 된 Cell 의 Row 인덱스값을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.row

문법 설정

var nRow = e.row;

참고

- Grid 에 바인딩된 DataSet 의 rowposition 속성값과 같은 값을 갖습니다.

- Grid 가 트리형태일 때 화면에 표시되는 위치와 DataSet 의 rowposition 값이 달라집니다.
  화면에 표시되는 위치의 Row 인덱스값이 필요할 때는 Grid 의 getTreeRow() 메소드를 사용하여야 합니다.

this.Grid00_onenterdown = function(obj:nexacro.Grid, e:nexacro.GridEditEventInfo)
{
    trace(obj.getTreeRow(e.row));
}

subrow

입력 컨트롤이 활성화 된 Cell 의 subrow 인덱스값을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.subrow

문법 설정

var nSubrow = e.subrow;

참고

- 병합된 Cell 일 경우 병합된 Cell 중 첫번째 Cell 의 subrow 값을 갖습니다.

value

입력 컨트롤이 활성화 된 Cell 의 value 값을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☑ Windows

☑ macOS

☑ Edge

☑ Chrome

☑ Safari

☑ Firefox

☑ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☑ Android

☑ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

GridEditEventInfo.value