PDA

View Full Version : [CLOSED] RowEditor and Listener CancelEdit



Aurelio
Mar 22, 2012, 11:33 PM
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

Aurelio
Mar 22, 2012, 11:43 PM
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

Daniil
Mar 23, 2012, 9:37 AM
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.

Aurelio
Mar 23, 2012, 12:46 PM
HI, Daniil,
,I'm sorry You are right, I wrote the code without specifying who was of 1.2.

Thanks for help.
Aurelio

Daniil
Mar 23, 2012, 4:52 PM
No problem.

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

feanor91
Apr 06, 2012, 7:31 AM
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.

Daniil
Apr 06, 2012, 9:09 AM
will you release a new beta update for non registered users?

Yes, we are working on Beta 2.


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.

feanor91
Apr 06, 2012, 9:37 AM
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.

Daniil
Apr 06, 2012, 9:39 AM
I think Beta 2 can take one-two months. And, hopefully, the final will appear shortly after Beta 2.

feanor91
Apr 06, 2012, 10:02 AM
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?

Daniil
Apr 06, 2012, 10:26 AM
With the Ext.NET Pro license and Premium Support Subscription you will be able to update from SVN getting the last fixes/changes.

As well, our priority is the Premium Help forums.

feanor91
Apr 06, 2012, 10:57 AM
Yeah, I already got it about premium support.

Thanks, I will work my chief to buy a license.