New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI editable TagHelper GanttEditableSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("editable", ParentTag = "kendo-gantt", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GanttEditableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent

Inheritance: objectTagHelperTagHelperChildBaseGanttEditableSettingsTagHelper

Implements: ITagHelperITagHelperComponentITemplateComponent

Inherited Members TagHelperChildBase.Init(TagHelperContext)TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-gantt name="gantt">
    <editable click-move-click="true" />
</kendo-gantt>

Constructors

Initializes a new instance of the GanttEditableSettingsTagHelper class.

C#
public GanttEditableSettingsTagHelper()

Properties

If set to true (default), when there is a drag column for the items in the TreeList part of the Gantt, the user will be allowed to reorder rows via click move click interaction as an alternative of the drag and drop one.

C#
public bool? ClickMoveClick { get; set; }

If set to true the Gantt will display a confirmation dialog when the user deletes a task or a dependency.

C#
public bool? Confirmation { get; set; }

If set to false the user won't be able to create tasks.

C#
public bool? Create { get; set; }

If set to false the user won't be able to create dependencies.

C#
public bool? DependencyCreate { get; set; }

If set to false the user won't be able to delete dependencies.

C#
public bool? DependencyDestroy { get; set; }

If set to false the user won't be able to delete tasks.

C#
public bool? Destroy { get; set; }

If set to false the user won't be able to edit the percentComplete of the tasks.

C#
public bool? DragPercentComplete { get; set; }

Enables or disables the configuration.

C#
public bool? Enabled { get; set; }

If set to false the user won't be able to move tasks.

C#
public bool? Move { get; set; }

If set to true the default pop-up editor of the Gantt will render the plannedStart and plannedEnd editors for the edited task.

C#
public bool? PlannedTasks { get; set; }

If set to false the user won't be able to reorder tasks in the task list.

C#
public bool? Reorder { get; set; }

If set to false the user won't be able to resize tasks.

C#
public bool? Resize { get; set; }

The template which renders the editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the Gantt will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields.

C#
public string Template { get; set; }

The template which renders the editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the Gantt will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields. This option expects the name of a JavaScript function that will be called to return the template.

C#
public string TemplateHandler { get; set; }

The template which renders the editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the Gantt will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields. This option expects the ID of the script element that contains the template.

C#
public string TemplateId { get; set; }

Configures the templates for the GanttEditableSettings.

C#
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }

Implements: ITemplateComponent.Templates

The template which renders the editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the Gantt will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields. This option expects the IHtmlContent instance containing the created HTML.

C#
public IHtmlContent TemplateView { get; set; }

If set to false the user won't be able to update tasks.

C#
public bool? Update { get; set; }

Methods

Adds the current TagHelper instance to its parent TagHelper.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

The TagHelper context.

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serializes the defined templates.

C#
public Dictionary<string, object> SerializeTemplates()
Returns:

Dictionary<string, object>