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

SpreadsheetToolbarSettingsBuilder

Methods

Home(System.Action)

Configure the available tools in the Home tab.

Parameters

configurator - System.Action<SpreadsheetToolFactory>

An action that configures the tools.

Example


             @( Html.Kendo().Spreadsheet()
                        .Name("spreadsheet")
                        .Toolbar(toolbar => toolbar
                            .Home(home => home
                                .Bold()
                                .Italic()
                                .Open()
                            )
                        )
            )

Home(System.Boolean)

A Boolean value which indicates if the Home tab will be displayed on the Spreadsheet Toolbar.

Parameters

value - System.Boolean

The value that configures the home.

Insert(System.Action)

A collection of tools that will be shown in the Insert tab of the Toolbar.

Parameters

configurator - System.Action<SpreadsheetToolFactory>

An action that configures the tools.

Example


             @( Html.Kendo().Spreadsheet()
                        .Name("spreadsheet")
                        .Toolbar(toolbar => toolbar
                            .Insert(insert => insert
                                .InsertAbove()
                                .RemoveRow()
                            )
                        )
            )

Insert(System.Boolean)

A Boolean value which indicates if the Insert tab will be displayed on the Spreadsheet Toolbar.

Parameters

value - System.Boolean

The value that configures the insert.

Data(System.Action)

A collection of tools that will be shown in the Data tab of the Toolbar.

Parameters

configurator - System.Action<SpreadsheetToolFactory>

An action that configures the tools.

Example


             @( Html.Kendo().Spreadsheet()
                        .Name("spreadsheet")
                        .Toolbar(toolbar => toolbar
                            .Data(data => data
                                .Validation()
                            )
                        )
            )

Data(System.Boolean)

A Boolean value which indicates if the Data tab will be displayed on the Spreadsheet Toolbar.

Parameters

value - System.Boolean

The value that configures the data.

In this article
Not finding the help you need?