Class TreeGridInfiniteScrollSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeGridInfiniteScrollSettingsBuilder
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridInfiniteScrollSettingsBuilder : ControlBuilder
Constructors
TreeGridInfiniteScrollSettingsBuilder()
Declaration
public TreeGridInfiniteScrollSettingsBuilder()
TreeGridInfiniteScrollSettingsBuilder(TreeGridInfiniteScrollSettings)
Declaration
public TreeGridInfiniteScrollSettingsBuilder(TreeGridInfiniteScrollSettings model)
Parameters
Type | Name | Description |
---|---|---|
TreeGridInfiniteScrollSettings | model |
Methods
EnableCache(Boolean)
If enableCache
is set to true, the Tree Grid will cache the loaded data for reuse in future requests, improving performance.
Declaration
public TreeGridInfiniteScrollSettingsBuilder EnableCache(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
InitialBlocks(Double)
Specifies the number of data blocks to render initially when the Tree Grid loads, if caching is enabled.
Declaration
public TreeGridInfiniteScrollSettingsBuilder InitialBlocks(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
MaxBlocks(Double)
Specifies the number of data blocks to maintain in the Tree Grid's cache when enableCache
is true.
Declaration
public TreeGridInfiniteScrollSettingsBuilder MaxBlocks(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |