본문으로 건너뛰기

onLinkDblClick

Description

사용자가 링크를 더블 클릭할 때 발생

onLinkDblClick: (id: string | number, e?: Event) => boolean;

Parameters

  • id - (required) string | number - 클릭된 링크의 ID

Returns

  • result - (boolean) - 기본 이벤트 동작이 트리거될지 여부를 정의합니다 (true일 경우 true, 그렇지 않으면 false로 취소)

Example

gantt.attachEvent("onLinkDblClick", function(id,e){
// 여기에 코드 작성
return true;
});

Details

이벤트는 차단 가능합니다. false를 반환하면 기본 핸들러가 취소되어(링크 삭제) 동작이 중단됩니다

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.