Kendo UI editable TagHelper GanttEditableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("editable", ParentTag = "kendo-gantt", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GanttEditableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseGanttEditableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-gantt name="gantt">
<editable click-move-click="true" />
</kendo-gantt>
Constructors
Initializes a new instance of the GanttEditableSettingsTagHelper class.
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.
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.
public bool? Confirmation { get; set; }
If set to false the user won't be able to create tasks.
public bool? Create { get; set; }
If set to false the user won't be able to create dependencies.
public bool? DependencyCreate { get; set; }
If set to false the user won't be able to delete dependencies.
public bool? DependencyDestroy { get; set; }
If set to false the user won't be able to delete tasks.
public bool? Destroy { get; set; }
If set to false the user won't be able to edit the percentComplete of the tasks.
public bool? DragPercentComplete { 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.
public bool? PlannedTasks { get; set; }
If set to false the user won't be able to reorder tasks in the task list.
public bool? Reorder { get; set; }
If set to false the user won't be able to resize tasks.
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.
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.
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.
public string TemplateId { get; set; }
Configures the templates for the GanttEditableSettings.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
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.
public IHtmlContent TemplateView { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.
Serializes the defined templates.