menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Column - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Column

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    Column
    Namespace: Syncfusion.EJ2.Spreadsheet
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Column : EJTagHelper

    Constructors

    Column()

    Declaration
    public Column()

    Properties

    CustomWidth

    specifies custom width of the column.

    Declaration
    public bool CustomWidth { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Format

    Specifies format of the column.

    Declaration
    public SpreadsheetFormat Format { get; set; }
    Property Value
    Type Description
    SpreadsheetFormat

    The default value is null

    Hidden

    To hide/show the column in spreadsheet.

    Declaration
    public bool Hidden { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Index

    Specifies index of the column. Based on the index, column properties are applied.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 0

    IsLocked

    To lock/unlock the column in the protected sheet.

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    IsReadOnly

    Represents whether a column in the sheet is read-only or not. If set to true, it prevents editing the specified cell in the sheet.

    Declaration
    public bool IsReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Validation

    Specifies the validation of the column.

    Declaration
    public SpreadsheetValidation Validation { get; set; }
    Property Value
    Type Description
    SpreadsheetValidation

    The default value is null

    Width

    Specifies width of the column.

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 64

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved