API REFERENCE

focusCellRendererInstance

지정한 마운트 셀 렌더러 내부로 포커스를 이동하고 결과를 반환합니다.

무엇을 하는 API인가요

지정한 마운트 셀 렌더러 내부로 포커스를 이동하고 결과를 반환합니다.

입력과 결과의 정확한 타입

typescript
focusCellRendererInstance(rowId: GridRowId, colId: string, direction: 'in' | 'out'): Promise<boolean>
인수필수 여부타입
rowId필수GridRowId
colId필수string
direction필수'in' | 'out'

반환 타입은 Promise<boolean>입니다.

사용 흐름

등록과 초기화를 마친 Grid 요소에서 grid.focusCellRendererInstance(…)를 호출합니다. 반환값은 await로 읽으세요. boolean이나 보고서를 반환하는 메서드는 결과를 확인한 뒤 다음 작업을 진행합니다.

관련 타입 읽기

기능별 설명과 예제