GridView devexpress ESC取消编辑 [英] GridView devexpress ESC to cancel editing

查看:282
本文介绍了GridView devexpress ESC取消编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户遇到转义,编辑单元格时,如何获取行为?应该取消编辑并设置以前的值?

How can I get behaviour that while editing cell if user hits escape then editing should be canceled and previous value set ?

感谢您的帮助

推荐答案

您需要覆盖GridView.hideEditor方法,请参阅针对更多也在这里。同样可以通过编写代码完成

you need to override GridView.hideEditor method, please see this for more and here too. same can be done by writing code also.

这篇关于GridView devexpress ESC取消编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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