Defines the fluent interface for configuring Scrollable
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GridScrollSettingsBuilder
Inheritance: objectGridScrollSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the GridScrollSettingsBuilder class.
public GridScrollSettingsBuilder(GridScrollableSettings settings)
The settings.
Methods
Enables or disables scrolling.
public virtual GridScrollSettingsBuilder Enabled(bool value)
The boolean value for the scrolling functionality. If set to true the grid will display a scrollbar when the total row height (or width) exceeds the grid height (or width). By default scrolling is enabled.
Returns:Enables or disables endless scrolling.
public virtual GridScrollSettingsBuilder Endless(bool value)
If set to true the grid will always display a single page of data. Scrolling to the end will load more items untill all items are displayed.
Returns:Sets the height of the scrollable area in pixels.
public virtual GridScrollSettingsBuilder Height(int pixelHeight)
The height in pixels.
Returns:Sets the height of the scrollable.
public virtual GridScrollSettingsBuilder Height(string value)
The height in units.
Returns:Enables or disabled virtual scrolling.
public virtual GridScrollSettingsBuilder Virtual(bool value)
Configures the grid virtualization settings. If set to true the grid will enable row virtualization and display a single page of data.
Returns:Configures the grid virtualization mode.
public virtual GridScrollSettingsBuilder Virtual(GridVirtualizationMode value)
The grid virtualization mode
Returns: