onBeforeExternalDragIn

외부 DHTMLX 컴포넌트에서 스케줄러로 요소가 드래그되기 바로 전에 트리거됩니다 (dnd 확장이 활성화되어 있어야 합니다)

boolean onBeforeExternalDragIn(HTMLElement source,object dhtmlx,HTMLElement tArea,HTMLElement tNode,Event e);
sourceHTMLElement스케줄러로 드래그될 HTML 요소
dhtmlxobject글로벌 DHTMLX 객체
tAreaHTMLElement스케줄러의 데이터 영역을 나타내는 HTML 요소
tNodeHTMLElement스케줄러 내 대상 HTML 요소 (Day 뷰의 컬럼이나 Timeline 뷰의 섹션 등)
eEvent네이티브 이벤트 객체
boolean기본 이벤트 동작이 진행될지(true) 취소될지(false) 결정

Example

scheduler.attachEvent("onBeforeExternalDragIn",function(source,dhtmlx,tArea,tNode,e)
{
    //여기에 커스텀 로직을 추가할 수 있습니다
    return true;
});

Details

이 이벤트는 outerdrag 플러그인이 활성화되어 있어야 합니다.

이 이벤트는 차단할 수 있습니다. false를 반환하면 외부 요소가 스케줄러로 드래그되는 것을 막습니다.

See also
맨 위로