SpreadsheetSheetSortSettingsBuilder
Methods
Columns(System.Action)
Specifies the sort options for individual columns.
Parameters
configurator - System.Action<SpreadsheetSheetSortSettingsColumnFactory>
The action that configures the columns.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Sort(sort => sort.Columns(cols => cols.Add().Ascending(true)));
})
)
Ref(System.String)
The sorted range, for example, A1:D5.
Parameters
value - System.String
The value that configures the ref.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Sort(sort => sort.Ref("A1:D5"));
})
)