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

表格编辑 #2

Closed
otaku1951 opened this issue Sep 11, 2017 · 7 comments
Closed

表格编辑 #2

otaku1951 opened this issue Sep 11, 2017 · 7 comments

Comments

@otaku1951
Copy link

哥们,把单元格或行编辑的也给做了呗。

@huangshuwei
Copy link
Collaborator

好的,空了我把这个功能加上,好了通知你。

目前想法是:
在单元格内允许编辑,编辑结束后会触发回调函数

@otaku1951
Copy link
Author

我是觉得把单元格的contenteditable这个属性打开应该就可以了,只是这个得在组件的option做个能配置的哈,毕竟不是所有人都想表格可编辑

@huangshuwei
Copy link
Collaborator

是的,这个会做一个配置开关,不过编辑完需要触发回调(客户端数据持久化或其他操作)

@otaku1951
Copy link
Author

对对,回调可以有,多谢大神哈。

@huangshuwei
Copy link
Collaborator

😊

@huangshuwei
Copy link
Collaborator

@otaku1951
编辑功能已经加上了,下载最新就可以使用了。效果如下:
http://doc.huangsw.com/vue-easytable/app.html#/table?anchor=table-cell-edit

@otaku1951
Copy link
Author

收到,收到,多谢了😊

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

No branches or pull requests

2 participants