menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridInfiniteScrollSettingsBuilder - API Reference

    Show / Hide Table of Contents

    Class GridInfiniteScrollSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    GridInfiniteScrollSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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
    Type Description
    GridInfiniteScrollSettingsBuilder

    InitialBlocks(Double)

    Defines the number of blocks will render at the initial Grid rendering while enableCache is enabled.

    Declaration
    public GridInfiniteScrollSettingsBuilder InitialBlocks(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    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 Description
    GridInfiniteScrollSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved