Posted 30 July 2020, 4:26 am EST
clearType as GC.Spread.Sheets.StorageType
sheet.clear(
row,
col,
rowCount,
colCount,
GC.Spread.Sheets.SheetArea.viewport,
clearType
)
spread.bind(
GC.Spread.Sheets.Events.RangeChanged,
()=>{
const { action, isUndo } = op
if(action === 2){
// to do clear action,but I can't distinguish clear data or style
}
}
)
