Class GridInfiniteScrollSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GridInfiniteScrollSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.AspNetMvc.Grid.dll
Syntax
public class GridInfiniteScrollSettingsBuilder : ControlBuilder
Constructors
GridInfiniteScrollSettingsBuilder()
Declaration
public GridInfiniteScrollSettingsBuilder()
GridInfiniteScrollSettingsBuilder(GridInfiniteScrollSettings)
Declaration
public GridInfiniteScrollSettingsBuilder(GridInfiniteScrollSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| GridInfiniteScrollSettings | model |
Methods
EnableCache(Boolean)
If enableCache is set to true, the Grid will cache the loaded data to be reused next time it is needed.
Declaration
public GridInfiniteScrollSettingsBuilder EnableCache(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| GridInfiniteScrollSettingsBuilder |
InitialBlocks(Double)
Defines the number of blocks that will render at the initial Grid rendering.
Declaration
public GridInfiniteScrollSettingsBuilder InitialBlocks(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| GridInfiniteScrollSettingsBuilder |
MaxBlocks(Double)
Defines the number of blocks to be maintained in Grid while settings enableCache as true.
Declaration
public GridInfiniteScrollSettingsBuilder MaxBlocks(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| GridInfiniteScrollSettingsBuilder |