Devexpress 删除一行
使用 DevExpress 的网格,是实现仅从 UI 删除所选行的最简单方法。所需的行为是用户多选行然后按 DEL。
我已启用编辑和多项选择。
Using DevExpress's Grid, what the easiest way to implement a delete of a selection of rows from the UI only. The desired behavior is for the user to multi-select rows then press DEL.
I have enabled editing and multi-select.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自 Devexpress 支持中心并假设您指的是 Windows 窗体网格:
如何删除网格中的多行?
如果你想在按键时删除选定的行,你还需要处理网格的按键事件。
如果不是 Windows 窗体,您可以按产品搜索其支持中心。根据我的经验,那里的技术支持非常好。
From Devexpress Support Center and assuming that you are referring to a Windows Form Grid:
How to delete the multiple rows in the grid?
You also need to handle the key down event of the grid if you want to delete the selected rows on a key press.
If it's not Windows Forms you can search their Support Center by product. From my experience the technical support there is very nice.
我一般用的方法是,
效果很好。
The method that I use generally is,
It works well.