onExternalDragIn

외부 DHTMLX 컴포넌트에서 스케줄러로 데이터가 드래그될 때 발생합니다 (dnd 확장이 활성화되어 있어야 합니다)

boolean onExternalDragIn(string id,object source,Event e);
idstring데이터 항목의 ID
sourceobject스케줄러로 드래그된 원본 HTML 요소
eEvent네이티브 이벤트 객체
boolean이벤트의 기본 동작이 진행될지(true) 취소될지(false) 여부를 나타냅니다

Example

scheduler.attachEvent("onExternalDragIn", function (id, source, e){
    scheduler.getEvent(id).text = source.innerHTML;
    return true;
});

Related samples

Details

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

  • 이 이벤트는 드래그인 작업으로 생성된 새 이벤트를 커스터마이징할 수 있게 합니다.
  • false를 반환하면 드래그 중 새 이벤트 생성이 차단됩니다.
See also
맨 위로