Defines the fluent API for configuring the SpreadsheetSheet settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetSheetBuilder
Inheritance: objectSpreadsheetSheetBuilder
Inherited Members
Constructors
public SpreadsheetSheetBuilder(SpreadsheetSheet settings, Spreadsheet widget)
Methods
The active cell in the sheet, for example, A1.
public SpreadsheetSheetBuilder ActiveCell(string value)
The value that configures the activecell.
Returns:An array which defines the columns in this sheet and their content.
public SpreadsheetSheetBuilder Columns(Action<SpreadsheetSheetColumnFactory> configurator)
The action that configures the columns.
Returns:Sets the data source configuration of the grid.
public SpreadsheetSheetBuilder DataSource<T>(Action<DataSourceBuilder<T>> configurator) where T : class
The lambda which configures the data source
Returns:An array which contains the drawings used in this sheet.
public SpreadsheetSheetBuilder Drawings(Action<SpreadsheetSheetDrawingFactory> configurator)
The action that configures the drawings.
Returns:Defines the filtering criteria for this sheet, if any.
public SpreadsheetSheetBuilder Filter(Action<SpreadsheetSheetFilterSettingsBuilder> configurator)
The action that configures the filter.
Returns:The number of frozen columns in this sheet.
public SpreadsheetSheetBuilder FrozenColumns(int value)
The value that configures the frozencolumns.
Returns:The number of frozen rows in this sheet.
public SpreadsheetSheetBuilder FrozenRows(int value)
The value that configures the frozenrows.
Returns:An array of merged cell ranges, for example, B1:D2.
public SpreadsheetSheetBuilder MergedCells(params string[] value)
The value that configures the mergedcells.
Returns:The name of the sheet.
public SpreadsheetSheetBuilder Name(string value)
The value that configures the name.
Returns:The row data for this sheet.
public SpreadsheetSheetBuilder Rows(Action<SpreadsheetSheetRowFactory> configurator)
The action that configures the rows.
Returns:The selected range in the sheet, for example, A1:B10.
public SpreadsheetSheetBuilder Selection(string value)
The value that configures the selection.
Returns:A Boolean value which indicates if the grid lines of the sheet will be displayed.
public SpreadsheetSheetBuilder ShowGridLines(bool value)
The value that configures the showgridlines.
Returns:Defines the sort criteria for the sheet.
public SpreadsheetSheetBuilder Sort(Action<SpreadsheetSheetSortSettingsBuilder> configurator)
The action that configures the sort.
Returns: