Class GridInfiniteScrollSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GridInfiniteScrollSettingsBuilder
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.EJ2.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
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
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 |