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

GanttToolbarBuilder

Methods

Name(System.String)

The name of the toolbar command. Either a built-in ("append" and "pdf") or custom. The name is reflected in one of the CSS classes, which is applied to the button - k-gantt-name. This class can be used to obtain reference to the button after Gantt initialization and attach click handlers.

Parameters

value - System.String

The value for Name

Template(System.String)

The template which renders the command. By default renders a button.

Parameters

value - System.String

The value for Template

TemplateId(System.String)

The template which renders the command. By default renders a button.

Parameters

templateId - System.String

The ID of the template element for Template

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the command. By default renders a button.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

TemplateHandler(System.String)

The template which renders the command. By default renders a button.

Parameters

templateHandler - System.String

The handler that returs the template for Template

Template(Kendo.Mvc.UI.TemplateBuilder)

The template which renders the command. By default renders a button.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Text(System.String)

The text displayed by the command button. If not set the name` option would be used as the button text instead.

Parameters

value - System.String

The value for Text

In this article
Not finding the help you need?