Class ScrollSettings
Gets or sets an object that indicates whether to customize the scrolling behavior of the grid.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class ScrollSettings : EJTagHelper
Constructors
ScrollSettings()
Declaration
public ScrollSettings()
Properties
AllowVirtualScrolling
This specify the grid to to view data that you require without buffering the entire load of a huge database.
Declaration
[JsonProperty("allowVirtualScrolling")]
public bool AllowVirtualScrolling { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AutoHide
Set true to hides the scrollbar, when mouseout the content area.
Declaration
[JsonProperty("autoHide")]
public bool AutoHide { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ButtonSize
Specifies the height and width of button in the scrollbar.
Declaration
[JsonProperty("buttonSize")]
public int ButtonSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
EnableTouchScroll
This specify the grid to enable/disable touch control for scrolling.
Declaration
[JsonProperty("enableTouchScroll")]
public bool EnableTouchScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableVirtualization
This is used to define the mode of EnableVirtualization scrolling in grid.
Declaration
[JsonProperty("enableVirtualization")]
public bool EnableVirtualization { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FrozenColumns
This specify the grid to freeze particular columns at the time of scrolling.
Declaration
[JsonProperty("frozenColumns")]
public int FrozenColumns { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FrozenRows
This specify the grid to freeze particular rows at the time of scrolling.
Declaration
[JsonProperty("frozenRows")]
public int FrozenRows { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Height
This specify the grid to show the vertical scroll bar, to scroll and view the grid contents.
Declaration
[JsonProperty("height")]
public object Height { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ScrollerSize
If the scrollbar has vertical it set as width, else it will set as height of the handler.
Declaration
[JsonProperty("scrollerSize")]
public int ScrollerSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ScrollOneStepBy
This specify the scroll down pixel of mouse wheel, to scroll mouse wheel and view the grid contents.
Declaration
[JsonProperty("scrollOneStepBy")]
public int ScrollOneStepBy { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
VirtualScrollMode
This is used to define the mode of virtual scrolling in grid.
Declaration
[JsonProperty("virtualScrollMode")]
[JsonConverter(typeof(StringEnumConverter))]
public VirtualScrollMode VirtualScrollMode { get; set; }
Property Value
Type | Description |
---|---|
VirtualScrollMode |
Width
This specify the grid to show the horizontal scroll bar, to scroll and view the grid contents.
Declaration
[JsonProperty("width")]
public object Width { get; set; }
Property Value
Type | Description |
---|---|
System.Object |