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

itable 设置默认选中行及禁用某行遇到的问题 #265

Closed
GITleonine1989 opened this issue Feb 13, 2017 · 0 comments
Closed

itable 设置默认选中行及禁用某行遇到的问题 #265

GITleonine1989 opened this issue Feb 13, 2017 · 0 comments

Comments

@GITleonine1989
Copy link
Contributor

iView 版本号

0.9.17

操作系统/浏览器 版本号

Win10/ chrome56

Vue 版本号

1.0.26

能够复现问题的在线示例

http://jsbin.com/guqemuveje/edit?html,css,js,output

复现步骤

itable 中 默认设置默认选中行

问题现象,以及你期望的结果是怎样的?

1设置默认选中项,通过查看源码,以toggleSelec(index)方式来实现,略微绕弯,期望能通过tabledata中传入字段check:true/false 来实现行的选中

2.无法设置某行为禁止选中,想过通过rowClassName的方式,但是禁止选择的样式好做,给checkbox 添加disable属性还是要操作dom,略微复杂,
期望提供参数来禁止行的选中

你估计可能的原因是什么(选填)?

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