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.
Unfortunately, activation email could not send to your email. Please try again.

Problem with Editing

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 04:36 AM

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 04:56 AM

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 09:01 AM

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.

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.

;