SpreadsheetSheetColumnBuilder
Methods
Index(System.Int32)
The zero-based index of the column. Required to ensure correct positioning.
Parameters
value - System.Int32
The value that configures the index.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Columns(columns =>
{
columns.Add().Index(1);
});
})
)
Width(System.Double)
The width of the column in pixels. Defaults to columnWidth.
Parameters
value - System.Double
The value that configures the width.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Columns(columns =>
{
columns.Add().Width(100);
});
})
)