Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asynchronous beforeEditMethod #2776

Open
1 task done
WJjack opened this issue Feb 17, 2025 · 3 comments
Open
1 task done

asynchronous beforeEditMethod #2776

WJjack opened this issue Feb 17, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@WJjack
Copy link

WJjack commented Feb 17, 2025

这个需求解决了什么问题:

Asynchronous verification is required before entering the editing line

建议的 API 是什么样的:

add a method like beforeEditMethodAsync: Promise

是否已有其他不错的替代方案:

No response

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本。
@WJjack WJjack added the enhancement New feature or request label Feb 17, 2025
@xlz26296
Copy link
Contributor

beforeEditMethod is executed synchronously and you can handle the. verification in advance

@WJjack
Copy link
Author

WJjack commented Feb 18, 2025

"tableRef.value.validate()" is asynchronous and can be problematic when used in "beforeEditMethod".

Image

@xlz26296
Copy link
Contributor

xlz26296 commented Feb 18, 2025

"tableRef.value.validate()" is asynchronous and can be problematic when used in "beforeEditMethod".

Image

You should use the cell-click | editMethod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants