Programatically cancel an insert

2 posts, 0 answers
  1. Mark
    Mark avatar
    36 posts
    Member since:
    Jan 2012

    Posted 22 Nov 2016 Link to this post

    Is there a way to fully cancel a user insert of a new row programatically?

    I am looking to simulate the user hitting the esc key once initiating an insert of a new row.



  2. Hristo
    Hristo avatar
    1520 posts

    Posted 22 Nov 2016 Link to this post

    Hello Mark,

    Thank you for writing.

    You can subscribe the grid to its UserAddingRow and cancel it. Please check the following documentation article for an example:

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Back to Top