超网格滚动
当我将新行插入 ultra win 网格时,滚动位置正在更改如何保持滚动位置 C# 应用程序框架 2.0
When i insert a new row into ultra win grid the scroll position is changing how to keep my scroll position C# application framework 2.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不完全确定你的意思?你能详细说明/提供更多细节吗?
首先选择任意行(通过编程或单击)。并且您添加的任何行都不应该改变您首先选择任何行的位置
还有一种方法可以将特定行带入视图(我认为它被称为 ScrollIntoView() 或 BringIntoView(),请查看 Infragistics API)。
not entirely sure what you mean ? can u elaborate/provide more detail?
you select any row first (either programatically or by clicking it). and any rows you add shouldnt chnage the positon
there was also way you can bring particular row into view (i think it was called ScrollIntoView() or BringIntoView(), look at Infragistics API).
据我所知,您希望在刷新或插入新行后保持当前行的选定状态。您必须将当前活动行索引保留在内存中,然后手动滚动回它。这是代码示例
From what I can understand is that you want to keep your current row selected after refresh or inserting a new row. You will have to keep your current active row index in memory and then manually scroll back to it. Here in an example of code
滚动到当前 ActiveRow。
Scrolls to the current ActiveRow.