We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/p/sandbox/vxe-table-4-x-vue-3-0-wen-ti-yan-shi-forked-466r3x?file=%2Fsrc%2Fviews%2FDemo1.vue%3A149%2C21
在分页复选框表格中,通过checkbox-config.checkRowKeys设置了默认选中的行,若这些行是第一页中的数据,则可以正常的默认选中;若这些行不在第一页,跳转到对应页码后,该行并没有被默认勾选。
无论在哪一页,被默认选中的行都能正常的被默认勾选
windows10
chrome 98.0.4758.139
3.2.31
4.1.21
The text was updated successfully, but these errors were encountered:
设置默认选中行这个操作只执行一次,可否修改为在表格有分页的情况下,在每一页只执行一次?
Sorry, something went wrong.
fix: 修复 x-extends#2372 在分页复选框表格中如果跳转到了第n页(n>1),则无法正确勾选默认选中的数据行
7b3edde
我尝试解决了一下这个问题并且提交了一个PR:#2387
No branches or pull requests
可复现的链接:
https://codesandbox.io/p/sandbox/vxe-table-4-x-vue-3-0-wen-ti-yan-shi-forked-466r3x?file=%2Fsrc%2Fviews%2FDemo1.vue%3A149%2C21
问题描述与截图:
在分页复选框表格中,通过checkbox-config.checkRowKeys设置了默认选中的行,若这些行是第一页中的数据,则可以正常的默认选中;若这些行不在第一页,跳转到对应页码后,该行并没有被默认勾选。
期望的结果:
无论在哪一页,被默认选中的行都能正常的被默认勾选
操作系统:
windows10
浏览器版本:
chrome 98.0.4758.139
vue 版本:
3.2.31
vxe-table 版本:
4.1.21
The text was updated successfully, but these errors were encountered: