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

建议在初始选中时触发一次eSelect #95

Open
miwei230 opened this issue Sep 4, 2019 · 1 comment
Open

建议在初始选中时触发一次eSelect #95

miwei230 opened this issue Sep 4, 2019 · 1 comment

Comments

@miwei230
Copy link

miwei230 commented Sep 4, 2019

在获取数据后初始化数据时后没有触发eSelect,没办法,我的需求是在获得数据化数据后,默认选中值之后也要触发一次eSelect方法,个人只好在 afterInit方法 (大约832行左右)增加了代码

if(p.eSelect && $.isFunction(p.eSelect)) p.eSelect(row, self);(忽略多选)

这样做总感觉有些怪怪的。官方有什么更好的办法 ?

@TerryZ
Copy link
Owner

TerryZ commented Sep 7, 2019

你可以先自行修改源码使用,后续的版本会增加该功能

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