본문으로 건너뛰기

afterEditEnd

설명

셀 편집이 완료된 후 발생합니다

사용법

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

매개변수

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

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

예제

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

// "afterEditEnd" 이벤트 구독
spreadsheet.events.on("afterEditEnd", function(cell, value){
console.log("Editing is finished");
console.log(cell, value);
});

관련 문서: 이벤트 처리