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

数据表格如果增加操作列,勾选行后绑定的事件因renderCell而丢失 #134

Open
hrpinfzu opened this issue Sep 24, 2018 · 2 comments
Labels

Comments

@hrpinfzu
Copy link

hrpinfzu commented Sep 24, 2018

dataGrid进行记录行勾选操作时,checkRow触发了renderCell,导致初始化数据时为操作列元素绑定的事件丢失,建议想办法保留或者将选中或发布onRenderCell事件

@catouse catouse added the bug label Sep 26, 2018
@FlySkyBear
Copy link

在checkRow函数中加上调用最后加上 that.$.callComEvent(that, 'onRender');即可

@catouse
Copy link
Collaborator

catouse commented Apr 3, 2019

数据表格绑定事件的最佳实践是使用事件委托机制。

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

No branches or pull requests

3 participants