We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with Editing

Thread ID:

Created:

Updated:

Platform:

Replies:

119419 Jun 18,2015 08:31 AM UTC Jun 19,2015 01:01 PM UTC ASP.NET MVC 3
loading
Tags: Grid
Steve Snell
Asked On June 18, 2015 08:31 AM UTC

I have a button in a grid that changes the inline template and starts editing by calling the 'startEdit' method.

Why does this trigger a 'save' on the current data record?

Steve Snell
Replied On June 18, 2015 08:36 AM UTC

My Code:-
           
col.HeaderText("Actions").Commands(command =>
             {
                 command.Type("detail")
                        .ButtonOptions(new Syncfusion.JavaScript.Models.ButtonProperties()
                        {
                            Size = ButtonSize.Mini,
                            Text = "Result",
                            Click = "onClick",
                        }).Add();
             })

   function onClick(args) {

            $("#Editing").ejGrid("option", { "editSettings": { editMode: "inlineFormTemplate", inlineFormTemplateID: "#result-edit-template" } });

            $("#Editing").ejGrid("startEdit", this.element.closest("tr"));
 
    }


Steve Snell
Replied On June 18, 2015 08:56 AM UTC

After clicking button the inline editor opens then immediately after, as I have said, a save is performed resulting in the inline editor closing .... meaning I never get to edit the record. 

Gowthami V [Syncfusion]
Replied On June 19, 2015 01:01 PM UTC

Hi Steve,

Thanks for using Syncfusion products.

We considered this “inlineFormTemplate editing is not working while using startEdit method” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let us know if you have any queries.

Regards,
Gowthami V.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;