GridView devexpress ESC to cancel editing

风流意气都作罢 提交于 2020-01-25 00:11:47

问题


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

thanks for help


回答1:


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



来源:https://stackoverflow.com/questions/5204895/gridview-devexpress-esc-to-cancel-editing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!