Defines the GridSelectableSettings . Used for configuring the selectable configuration of the Grid.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class GridSelectableSettings
Inheritance: objectGridSelectableSettings
Inherited Members
Constructors
Creates a GridSelectableSettings instance.
public GridSelectableSettings()
Properties
Defines a list of aggregates which should be calculated.
The available aggregates are:
count - the count of all selected cells(excluding command/selectable/draggable column) but including template columns without fields.
max - for numeric cells - the biggest numeric value across all of the selected cells/rows.
min - for numeric cells - the smallest numeric value across all of the selected cells/rows.
sum - for numeric cells - the sum of all numeric values from the selected cells/rows.
average - for numeric cells - the average of all numeric values from the selected cells/rows.
earliest - for date cells.
latest - for date cells.
isTrue - for boolean cells - the count of all selected cells with value true.
isFalse - for boolean cells - the count of all selected cells with value false.
public List<GridSelectionAggregateType> CellAggregates { get; set; }
When set to true, the Grid.Selectable will not be initialized. Should be enabled when both checkbox selection for the Grid and cell aggregates are required.
public bool? CheckboxSelection { get; set; }
When set to true, the user can drag to select multiple Grid rows or cells.
Applies only for multiple row or multiple cell selection.
public bool? DragToSelect { get; set; }
If set to true all aggregates will be calculated and made available to the Status Bar.
public bool? EnabledCellAggregates { get; set; }
When set to true, visually hidden elements that match by the filter option criteria but are overlapped by other elements that also can be selected, are ignored. Applies only for multiple cell selection.
public bool? IgnoreOverlapped { get; set; }
Configures the selection mode. Available options are: "row" - the user can select a single row, "cell" - the user can select a single cell, "multiple, row" - the user can select multiple rows, "multiple, cell - the user can select multiple cells"
public GridSelectionMode Mode { get; set; }
Configures the selection type. Available options are: "row" - allow row selection, "cell" - allow cell selection.
public GridSelectionType Type { get; set; }
Methods
Serialize current instance to Dictionary