Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

只读模式下,可以配置某一列或者某一行只读吗 #1444

Open
liberty-m opened this issue Dec 21, 2023 · 1 comment
Open

只读模式下,可以配置某一列或者某一行只读吗 #1444

liberty-m opened this issue Dec 21, 2023 · 1 comment

Comments

@liberty-m
Copy link

设置了allowEdit: false只能针对整个sheet只读,希望可以设置某一列某一行为只读

@wxh1018
Copy link

wxh1018 commented Jan 8, 2024

你可以设置allowEdit为true,然后通过钩子函数cellEditBefore来控制某行、列、单元格为只读

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants