API REFERENCE

addCellComment

협업 세션에서 셀 댓글을 추가하고 ID 또는 null을 반환합니다. 활성 세션이 필요합니다.

무엇을 하는 API인가요

협업 세션에서 셀 댓글을 추가하고 ID 또는 null을 반환합니다. 활성 세션이 필요합니다.

Pro 기능 관련 API: Cell notes editing

입력과 결과의 정확한 타입

typescript
addCellComment(rowId: string | number, field: string, text: string, parentId?: string): Promise<string | null>
인수필수 여부타입
rowId필수string | number
field필수string
text필수string
parentId선택string

반환 타입은 Promise<string | null>입니다.

사용 흐름

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

기능별 설명과 예제