[CLOSED] RowEditor and Listener CancelEdit

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] RowEditor and Listener CancelEdit

    HI, in v2.0 the property CancelEdit and AfterEdit are no longer supported ?
    <ext:RowEditor ID="RowEditor1" runat="server">
            <Listeners>
                <CancelEdit Handler="deleteEmpty()" />
                <AfterEdit Handler="deleteEmpty()" />
            </Listeners>
        </ext:RowEditor>
    I did a search in the changelog, but have not found anything about it.

    How do I trap the event of the cancel button for executing an Handler ?
    For the button Save, use the validation, but for the cancel I do not know how to do.

    Thanks
    Aurelio
    Last edited by Daniil; Mar 23, 2012 at 5:52 PM. Reason: [CLOSED]
  2. #2
    Hi, ok i override with this code:

     Ext.override(Ext.grid.plugin.RowEditing, {
                    cancelEdit: function () {
                        var me = this;
    
                        if (me.editing) {
                            me.getEditor().cancelEdit();
                            me.callParent(arguments);
                            this.fireEvent('canceledit', this.context);
                        }
                    }
                });
    If this is the solution close the post.
    Thanks
    Aurelio
  3. #3
    Hi,

    Just to clarify: there is the RowEditing plugin instead on the RowEditor one in Ext.NET v2.

    And yes, the CancelEdit event was missed, we have added it. Please update from SVN.

    Regarding to the AfterEdit event - it has been renamed to Edit.

    Thanks for the report.
  4. #4
    HI, Daniil,
    ,I'm sorry You are right, I wrote the code without specifying who was of 1.2.

    Thanks for help.
    Aurelio
  5. #5
    No problem.

    We have added the CancelEdit event for the CellEditing plugin as well.
  6. #6
    Hello

    following this thread, as the downloadable beta version in nuget is always dated from March 12, will you release a new beta update for non registered users?

    I move my code from V1.3 to V2 and I have a lot of issues with thing renamed or removed.

    Thanks.
  7. #7
    Quote Originally Posted by feanor91 View Post
    will you release a new beta update for non registered users?
    Yes, we are working on Beta 2.

    Quote Originally Posted by feanor91 View Post
    I move my code from V1.3 to V2 and I have a lot of issues with thing renamed or removed.
    Yes, there are many changes.
  8. #8
    Thanks

    Yes, we are working on Beta 2.
    A release date perhaps? And have you an idea of the release of a final version? By the way, I almost convinced my chief to buy it. Hope he will not change is mind.
  9. #9
    I think Beta 2 can take one-two months. And, hopefully, the final will appear shortly after Beta 2.
  10. #10
    Quote Originally Posted by Daniil View Post
    I think Beta 2 can take one-two months. And, hopefully, the final will appear shortly after Beta 2.
    Ouah, it is very long term, for my own dev...If I buy a version, will I be more up to date in following beta version from SVN than now?
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] RowEditor CancelEdit from CodeBehind
    By dheeraj_us in forum 2.x Premium Help
    Replies: 3
    Last Post: Aug 07, 2012, 3:09 PM
  2. [CLOSED] [1.0] RowEditor Resizing
    By alliedwallet.com in forum 1.x Premium Help
    Replies: 6
    Last Post: Feb 29, 2012, 1:26 PM
  3. [CLOSED] RowEditor Validation
    By ljcorreia in forum 1.x Premium Help
    Replies: 1
    Last Post: Jul 20, 2011, 1:21 PM
  4. Replies: 7
    Last Post: Jun 15, 2011, 8:34 PM
  5. Replies: 2
    Last Post: Jun 24, 2010, 4:28 AM

Posting Permissions