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.

Task Edit stops working with custom columns

Thread ID:

Created:

Updated:

Platform:

Replies:

129862 Apr 6,2017 06:25 AM Apr 26,2017 12:20 AM ASP.NET MVC 3
loading
Tags: Gantt
Bastian Noffer
Asked On April 6, 2017 06:25 AM

Hi everyone,

I am new to Syncfusion and am currently working on a project using the Gantt component with ASP.Net MVC 4.

Everything is working fine until I try to add a custom culumn, I can still add a new task, but not edit any.

I attached the .cshtml and controller files for reference, I hope someone can give me a hint what is going wrong here.

Bast regards,
Bastian

Attachment: GanttCode_964826aa.zip

Jayakumar Duraisamy [Syncfusion]
Replied On April 7, 2017 12:29 PM

Hi Bastian, 
 
Thanks for contacting Syncfusion support. 
 
We have analyzed your given source and found that there is missing of column editType properties in the custom column used with column template support. We must provide editType for each column once we have enabled edit support. 
Please refer following code snippet, 
var cost = { 
                 field: "Cost", 
                 headerText: "Total Cost($)", 
                 columnTemplate: true, 
                 templateId: "columnTemplate", 
                 width: "120px", 
                 editType:"stringedit" 
        }; 
We have also prepared a sample based on this and please find the sample location, 
Please let us know if you require further assistance on this. 
Regards, 
Jayakumar D 


Bastian Noffer
Replied On April 25, 2017 09:52 AM

Thanks, I totally missed that. Its working now!

Jayakumar Duraisamy [Syncfusion]
Replied On April 26, 2017 12:20 AM

Hi Bastian, 
 
We are glad that your requirement has been met. Please let us know if you need any other assistance. 
Regards, 
Jayakumar D 


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.

;