Defines the fluent API for configuring GridToolbarOverflowSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GridToolbarOverflowSettingsBuilder
Inheritance: objectGridToolbarOverflowSettingsBuilder
Inherited Members
Constructors
public GridToolbarOverflowSettingsBuilder(GridToolbarOverflowSettings container)
Properties
protected GridToolbarOverflowSettings Container { get; }
Methods
Defines the overflow mode. The available options are: - "menu" ΓÇö Moves overflowing items into a dropdown menu. - "scroll" ΓÇö Keeps items visible and enables horizontal scrolling. - "section" ΓÇö Groups items into collapsible sections. - "none" ΓÇö Disables overflow handling; items may be cut off.
public GridToolbarOverflowSettingsBuilder Mode(ToolBarOverflowMode value)
The value for Mode
Returns:Defines the visibility of scroll buttons when mode is "scroll". The available options are: - "auto" ΓÇö Displays scroll buttons only when needed. - "hidden" ΓÇö Hides the scroll buttons at all times. - "visible" ΓÇö Always shows the scroll buttons.
public GridToolbarOverflowSettingsBuilder ScrollButtons(ScrollButtonsType value)
The value for ScrollButtons
Returns:Defines the placement of scroll buttons. The available options are: - "split" ΓÇö Scroll buttons appear at both ends of the toolbar. - "start" ΓÇö Scroll buttons appear only at the start of the toolbar. - "end" ΓÇö Scroll buttons appear only at the end of the toolbar.
public GridToolbarOverflowSettingsBuilder ScrollButtonsPosition(ScrollButtonsPositionType value)
The value for ScrollButtonsPosition
Returns:Specifies the distance (in pixels) the toolbar scrolls when a scroll button is clicked.
public GridToolbarOverflowSettingsBuilder ScrollDistance(double value)
The value for ScrollDistance
Returns: