menu

ASP.NET Core

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetImportOptionsBuilder<T>

    Show / Hide Table of Contents

    Class SpreadsheetImportOptionsBuilder<T>

    Represents the class for spreadsheet import settings which includes import mapper, import url, pssword, import on load properties.

    Inheritance
    System.Object
    SpreadsheetImportOptionsBuilder<T>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class SpreadsheetImportOptionsBuilder<T>
        where T : class
    Type Parameters
    Name Description
    T

    Constructors

    SpreadsheetImportOptionsBuilder(SpreadsheetImportSettings)

    Initializes a new instance of the SpreadsheetImportOptionsBuilder<T> with the specified import settings.

    Declaration
    public SpreadsheetImportOptionsBuilder(SpreadsheetImportSettings import)
    Parameters
    Type Name Description
    SpreadsheetImportSettings import

    The import settings.

    Methods

    AllowSheetOnDemand()

    Specifies to enable sheet on demand.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> AllowSheetOnDemand()
    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>

    AllowSheetOnDemand(Boolean)

    Specifies to indicate whether sheet on demand is enable or not.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> AllowSheetOnDemand(bool allowSheetOnDemand)
    Parameters
    Type Name Description
    System.Boolean allowSheetOnDemand

    true if the sheet on demand is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>

    ImportMapper(String)

    Specifies the importMapper for import.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> ImportMapper(string importMapper)
    Parameters
    Type Name Description
    System.String importMapper

    The importMapper string.

    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>

    ImportOnLoad()

    Specifies to enable importOnLoad.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> ImportOnLoad()
    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>

    ImportOnLoad(Boolean)

    Specifies to indicate whether importOnLoad is enable or not.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> ImportOnLoad(bool importOnLoad)
    Parameters
    Type Name Description
    System.Boolean importOnLoad

    true if the importOnLoad is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>

    ImportUrl(String)

    Specifies the importUrl for import.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> ImportUrl(string importUrl)
    Parameters
    Type Name Description
    System.String importUrl

    The importUrl string to import file from the server.

    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>

    Password(String)

    Specifies the password for import.

    Declaration
    public SpreadsheetImportOptionsBuilder<T> Password(string password)
    Parameters
    Type Name Description
    System.String password

    The password string to set password when importing.

    Returns
    Type Description
    SpreadsheetImportOptionsBuilder<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved