行在Windows应用程序中的devExpress的过滤DataGrid上消失 [英] Row disapears on filtered DataGrid of devExpress in Windows Application

查看:60
本文介绍了行在Windows应用程序中的devExpress的过滤DataGrid上消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过滤或排序时无法复制/粘贴。为U过滤的字段字段是下拉列表。将第一个条目更改为N,然后复制到剪贴板。当选择下一行进行粘贴时,将重新应用过滤器,并且第一行消失。粘贴功能现在无法将N粘贴到第二条记录。

Copy/Paste cannot be done when filtered or sorted. Column field filtered for "U" It is dropdown. Changed first entry to "N", and then copied to clipboard. When next row is selected to paste, filter is reapplied and first row "disappears". Paste feature now does not work to paste "N" to the second record.

推荐答案

在网格中有一个隐藏列,用于跟踪行是否为新行。更改您的过滤器以包含它将始终显示新行。一旦您点击按钮或其他任何操作来激活过滤器,请更改新隐藏列中的值以表明它们不再是新行。



如果您需要更多,您必须发布您的代码并解释更多关于您要做的事情。希望这会有所帮助。
Have a hidden column in the grid that tracks if the line is new or not. Change your filter to include that it will always show new lines. Once you've clicked a button or whatever you do to activate your filter, change the value in the new hidden column to indicate that they are not new lines any more.

If you need more than this, you'll have to post your code and explain a bit more about what you are trying to do. Hope this helps.


我得到了解决方案。我需要设置一个属性。那是 ImmediateUpdateRowPosition = Flase 。这对我有用。
I got the solution. One Property i need to set. That is ImmediateUpdateRowPosition = Flase. This is work for me.


这篇关于行在Windows应用程序中的devExpress的过滤DataGrid上消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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