menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class Cell

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    Cell
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    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.EJ2.Spreadsheet
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Cell : EJTagHelper

    Constructors

    Cell()

    Declaration
    public Cell()

    Properties

    Chart

    Specifies the chart of the cell.

    Declaration
    [HtmlAttributeName("chart")]
    public List<Chart> Chart { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Chart>

    The default value is null

    ColSpan

    Specifies the column-wise cell merge count.

    Declaration
    [HtmlAttributeName("colSpan")]
    public int ColSpan { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 1

    Format

    Specifies the number format code to display value in specified number format.

    Declaration
    [HtmlAttributeName("format")]
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "General"

    Formula

    Defines the formula or expression of the cell.

    Declaration
    [HtmlAttributeName("formula")]
    public string Formula { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Hyperlink

    Specifies the hyperlink of the cell.

    Declaration
    [HtmlAttributeName("hyperlink")]
    public object Hyperlink { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Image

    Specifies the image of the cell.

    Declaration
    [HtmlAttributeName("image")]
    public List<Image> Image { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Image>

    The default value is null

    Index

    Specifies the index of the cell.

    Declaration
    [HtmlAttributeName("index")]
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 0

    IsLocked

    Specifies the cell is locked or not, for allow edit range in spreadsheet protect option.

    Declaration
    [HtmlAttributeName("isLocked")]
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    RowSpan

    Specifies the row-wise cell merge count.

    Declaration
    [HtmlAttributeName("rowSpan")]
    public int RowSpan { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 1

    Style

    Specifies the cell style options.

    Declaration
    [HtmlAttributeName("style")]
    public SpreadsheetCellStyle Style { get; set; }
    Property Value
    Type Description
    SpreadsheetCellStyle

    The default value is null

    Validation

    Specifies the validation of the cell.

    Declaration
    [HtmlAttributeName("validation")]
    public SpreadsheetValidation Validation { get; set; }
    Property Value
    Type Description
    SpreadsheetValidation

    The default value is null

    Value

    Defines the value of the cell which can be text or number.

    Declaration
    [HtmlAttributeName("value")]
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Wrap

    Wraps the cell text to the next line, if the text width exceeds the column width.

    Declaration
    [HtmlAttributeName("wrap")]
    public bool Wrap { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

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