Skip to content

How to bind edit events #1486

Closed Answered by Dushusir
YangFong asked this question in Q&A | 常见问题
Discussion options

You must be logged in to vote

How to bind edit cell events, I did not find the relevant way.

You can use the Facade or Uniscript API to monitor command execution

univerAPI.onCommandExecuted((command, options) => {
  if (command.id === 'sheet.command.set-range-values') {
    console.log(command)
  }
})

More tutorial https://univer.ai/guides/facade/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Dushusir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants