New to Telerik UI for ASP.NET MVC? Download free 30-day trial

GanttEditableSettingsBuilder

Methods

ClickMoveClick(System.Boolean)

Parameters

value - System.Boolean

Confirmation(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the confirmation.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Confirmation(true))
            )

Create(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the create.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Create(true))
            )

DependencyCreate(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the dependencycreate.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.DependencyCreate(true))
            )

DependencyDestroy(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the dependencydestroy.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.DependencyDestroy(true))
            )

DragPercentComplete(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the dragpercentcomplete.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.DragPercentComplete(true))
            )

Destroy(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the destroy.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Destroy(true))
            )

Move(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the move.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Move(true))
            )

PlannedTasks(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the plannedtasks.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.PlannedTasks(true))
            )

Reorder(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the reorder.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Reorder(true))
            )

Resize(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the resize.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Resize(true))
            )

Template(System.String)

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.

Parameters

value - System.String

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Template("Value"))
            )

TemplateId(System.String)

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.

Parameters

value - System.String

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.TemplateId("Value"))
            )

TemplateView(System.Web.Mvc.MvcHtmlString)

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.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.TemplateView(Html.Partial("TemplateView")))
            )

TemplateHandler(System.String)

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.

Parameters

value - System.String

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.TemplateHandler("Value"))
            )

Template(Kendo.Mvc.UI.TemplateBuilder)

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.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Update(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the update.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Editable(e => e.Update(true))
            )

In this article
Not finding the help you need?