키보드 네비게이션 확장에 대한 자세한 정보는 키보드 내비게이션 문서에서 확인할 수 있습니다.
keyboardNavigation 객체는 다음과 같은 API를 제공합니다:
focus (config): void - 그리드 내의 임의의 셀을 선택할 수 있도록 해줍니다. 이 기능은 Grid에 이미 포커스가 있을 때만 동작합니다.
gantt.ext.keyboardNavigation.focus({type:"taskCell",id:"taskId",column:"columnName"});
Related sample: Selecting a grid cell
var active_node = gantt.ext.keyboardNavigation.getActiveNode();
// -> {type: "taskCell", id: "10", column: "text"}
Related sample: Getting the active cell
Back to top