1. #11
    Sencha User
    Join Date
    Oct 2010
    Posts
    47
    Vote Rating
    0
    DaRkViDe is on a distinguished road

      0  

    Question catch the event on Cancel button of the RowEditor...

    catch the event on Cancel button of the RowEditor...


    Hi,
    now i want to catch the event on Cancel button of the RowEditor...
    When i add a new row in the grid, the row is inserted on the store at index 0;
    If the user press Cancel or click out the RowEditor whitout modify the row, i want to remove it from the store but i don't be able to catch a similar event...
    RowEditor fires AfterEdit, BeforEdit and ValidateEdit events but these doesn't help me!
    I tried with OnBlur but doesn't works...

    How can i do? t
    Thanks

  2. #12
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,754
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    If the user press Cancel or click out the RowEditor whitout modify the row, i want to remove it from the store but i don't be able to catch a similar event...
    clicking cancel should fire the Events.CancelEdit event.

  3. #13
    Sencha User
    Join Date
    Oct 2010
    Posts
    47
    Vote Rating
    0
    DaRkViDe is on a distinguished road

      0  

    Default


    Thank you very much!