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.

Editing and Double click

Thread ID:

Created:

Updated:

Platform:

Replies:

121112 Nov 11,2015 09:05 AM Nov 17,2015 09:17 AM ASP.NET MVC 5
loading
Tags: Gantt
Andrea Perazzolo
Asked On November 11, 2015 09:05 AM

Hi,
In somme rows I want to disable editin, so I tried to block the BeginEdit and ActonBegin  event end set the cancel property to True.
The problem is that the Edit Dialog appears even if I cancel the edit.
Do I need to do something else?

     Thanks in advance

     Andrea Perazzolo


John Rajaram [Syncfusion]
Replied On November 12, 2015 05:29 AM

Hi Andrea,
Thanks for using Syncfusion products.
At present there is no support for client side events on toolbar click to handle dialog boxes . For this we have already logged a feature request regarding this.
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.
Please let us know if you require further assistance on this.
Regards,
John R


Andrea Perazzolo
Replied On November 13, 2015 02:58 AM

HI,
There is a workaround to block the show of the dialog when double clicking on the Tree Grid and the Edit Mode is set to Normal?

    Thanks in advance.

    Andrea Perazzolo


Dinesh Kumar Nagarathinam [Syncfusion]
Replied On November 16, 2015 08:29 AM

Hi Andrea,

Sorry for the inconvenience caused.

It is not possible to do work around to block the edit dialog box while we double click on a treegrid.  For this we have already logged a feature request regarding this. 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 require further assistance on this.

Regards,

Dinesh kumar.N


Andrea Perazzolo
Replied On November 16, 2015 08:39 AM

Hi,
I tried this solution and seems to work:

function ActionBegin(args) {
    switch (args.requestType) {
        case "beginedit":
            if (args.model.selectedItem.IsFixedTask === true  || args.model.selectedItem.childRecords != false) {
                 args.cancel = true;
            }
 
            break;
        default:
            break;
    }
}
The dialog does not appear.

    Andrea Perazzolo





Dinesh Kumar Nagarathinam [Syncfusion]
Replied On November 17, 2015 09:17 AM

Hi Andrea,

We found that currently your solution is a valid work around for your requirement, but in Gantt there is no support for event while rendering add dialog box or rendering edit dialog box using toolbar click, your solution will work only if we try to open dialog using mouse double click action. Currently we are working on implementing events for dialog open and close, we will also let you know once we have implemented this.

Please let us know, if you need further assistance on this.

Regards,

Dinesh Kumar.N


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.

;