본문으로 건너뛰기

CellManager 개요

DHTMLX Diagram 라이브러리는 swimlane과 그 셀들을 동적으로 조작할 수 있는 API 세트를 제공합니다. 이 API는 다이어그램과 에디터에서 모두 사용할 수 있습니다.

메서드

NameDescription
add()Swimlane에 행이나 열로 셀을 추가합니다
getCellId()인덱스로 swimlane의 셀 ID를 반환합니다
getCellIndex()id로 swimlane 셀의 인덱스를 반환합니다
getSubHeaderCellId()서브헤더 id로 swimlane 셀의 id를 반환합니다
getSubHeaderCellIndex()서브헤더 id로 swimlane 셀의 인덱스를 반환합니다
getSubHeaderType()id로 swimlane 서브헤더의 유형을 반환합니다
move()swimlane의 셀을 행 또는 열로 이동합니다
remove()swimlane의 셀을 행 또는 열로 제거합니다
resetSwimlane()활성 swimlane을 재설정합니다
setSwimlane()이후 작업을 위해 활성 swimlane을 설정합니다
validation()방향 및 작업 유형에 따라 swimlane의 셀을 검증합니다

Events

NameDescription
afterCellsAdd새 셀이 Swimlane에 추가된 후 발생합니다
afterCellsMoveSwimlane의 셀이 이동된 후 발생합니다
afterCellsRemoveSwimlane의 셀이 제거된 후 발생합니다
afterCellsValidationSwimlane의 셀이 검증된 후 발생합니다
beforeCellsAdd새로운 셀이 swimlane에 추가되기 전에 발생합니다
beforeCellsMoveswimlane의 셀이 이동되기 전에 발생합니다
beforeCellsRemoveswimlane의 셀이 제거되기 전에 발생합니다
beforeCellsValidationswimlane의 셀이 검증되기 전에 발생합니다