问题
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