본문으로 건너뛰기

afterEditStart

설명

셀 편집이 시작된 후 발생합니다

사용법

afterEditStart: (cell: string, value: string) => void;

매개변수

이벤트의 callback은 다음 매개변수를 받습니다:

  • cell - (필수) 셀의 id
  • value - (필수) 셀의 값

예제

const spreadsheet = new dhx.Spreadsheet("spreadsheet", {});
spreadsheet.parse(data);

// "afterEditStart" 이벤트 구독
spreadsheet.events.on("afterEditStart", function(cell, value){
console.log("Editing has started");
console.log(cell, value);
});

관련 문서: 이벤트 처리