\Kendo\UI\SpreadsheetSheetSortColumn

A PHP class representing the column setting of SpreadsheetSheetSortColumns.

Methods

ascending

Indicates if the data in the cell will be sorted in ascending (true) or descending order (false).

Returns

\Kendo\UI\SpreadsheetSheetSortColumn

Parameters

$value boolean

Example

<?php
$column = new \Kendo\UI\SpreadsheetSheetSortColumn();
$column->ascending(true);
?>

index

The index of the column within the sheet. For example, column C will have an index of 2.

Returns

\Kendo\UI\SpreadsheetSheetSortColumn

Parameters

$value float

Example

<?php
$column = new \Kendo\UI\SpreadsheetSheetSortColumn();
$column->index(1);
?>
In this article
Not finding the help you need?