Class Column
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.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
[HtmlAttributeName("customWidth")]
public bool CustomWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Format
Specifies format of the column.
Declaration
[HtmlAttributeName("format")]
public SpreadsheetFormat Format { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetFormat | The default value is null |
Hidden
To hide/show the column in spreadsheet.
Declaration
[HtmlAttributeName("hidden")]
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
[HtmlAttributeName("index")]
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
[HtmlAttributeName("isLocked")]
public bool IsLocked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Validation
Specifies the validation of the column.
Declaration
[HtmlAttributeName("validation")]
public SpreadsheetValidation Validation { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetValidation | The default value is null |
Width
Specifies width of the column.
Declaration
[HtmlAttributeName("width")]
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is 64 |