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

Task Edit stops working with custom columns

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 04:29 PM UTC

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 01:52 PM UTC

Thanks, I totally missed that. Its working now!

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

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.

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

;