onBeforeRowDragMove

그리드 내에서 행이 수직으로 새 위치로 드래그되기 직전에 트리거됩니다.

boolean onBeforeRowDragMove(string|number id,string|number parent,number tindex);
idstring|number그리드 내에서 이동 중인 작업의 ID
parentstring|number새 부모의 ID
tindexnumber작업이 배치될 부모 브랜치 내의 대상 인덱스
boolean기본 이벤트 동작을 계속할지(true) 중지할지(false)를 나타냅니다.

Example

gantt.attachEvent("onBeforeRowDragMove", function(id, parent, tindex){
    // true 또는 false를 반환;
});

Details

이 이벤트는 차단할 수 있습니다. false를 반환하면 행이 이동되는 것을 방지합니다.

이 이벤트는 옵션 order_branch가 "marker"로 설정된 경우에만 발생합니다.

See also
Back to top