复选框已选中状态在Devexpress Gridview中的自定义分页中不起作用 [英] Check box checked state is not working in custom paging in Devexpress Gridview

查看:65
本文介绍了复选框已选中状态在Devexpress Gridview中的自定义分页中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢使用Devexpress gridview。在那个iam实现自定义分页。在实现自定义分页复选框后,检查状态在Gridview中不起作用。

如果我在第一页中检查任何行,当我转到第二页并且如果我再次回到第一页,我以前已检查列未处于已检查状态。



任何人都可以帮我解决此问题。



谢谢

Hi iam using Devexpress gridview. In that iam implementing the custom paging. After implementing the Custom paging checkbox checked state is not working in the Gridview.
If i check any row in the First page when i go to second page and if i come back to again first page, my previous checked column is not in a checked state.

Can any one help me to solve this problem.

Thanks

推荐答案

如果您将 ShowSelectCheckBox属性设置为' true' [ ^ ],然后它会工作。



否则你必须在中手动存储 CheckBoxes 的状态会话并检索它们并进行相应的检查。
If you set ShowSelectCheckBox property to ‘true’[^], then it will work.

Otherwise you have to manually store the state of CheckBoxes in Session and retrieve them and check accordingly.


这篇关于复选框已选中状态在Devexpress Gridview中的自定义分页中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆