Class SpreadsheetCellBuilder<T>
Represents the class for cell builder.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SpreadsheetCellBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetCellBuilder(Row)
Initializes a new instance of the SpreadsheetCellBuilder<T> with the specified row.
Declaration
public SpreadsheetCellBuilder(Row row)
Parameters
Type | Name | Description |
---|---|---|
Row | row | The row using row object |
Methods
Add()
This method is used to add a cell to list.
Declaration
public void Add()
Comment(Comment)
Specifies the comment for cells.
Declaration
public SpreadsheetCellBuilder<T> Comment(Comment comment)
Parameters
Type | Name | Description |
---|---|---|
Comment | comment | The comment using comment object. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Comment(Action<SpreadsheetCommentBuilder<T>>)
Specifies the Comment for Cells.
Declaration
public SpreadsheetCellBuilder<T> Comment(Action<SpreadsheetCommentBuilder<T>> comment)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetCommentBuilder<T>> | comment | The comment using CommentBuilder. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Format(NumFormat)
Specifies the format for cells.
Declaration
public SpreadsheetCellBuilder<T> Format(NumFormat format)
Parameters
Type | Name | Description |
---|---|---|
NumFormat | format | The format using NumFormat. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Format(Action<SpreadsheetFormatBuilder<T>>)
Specifies the format for cells.
Declaration
public SpreadsheetCellBuilder<T> Format(Action<SpreadsheetFormatBuilder<T>> format)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetFormatBuilder<T>> | format | The format using SpreadsheetFormatBuilder. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Hyperlink(Hyperlink)
Specifies the Hyperlink for Cells.
Declaration
public SpreadsheetCellBuilder<T> Hyperlink(Hyperlink hyperlink)
Parameters
Type | Name | Description |
---|---|---|
Hyperlink | hyperlink | The Hyperlink using Hyperlink object. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Hyperlink(Action<SpreadsheetHyperlinkBuilder<T>>)
Specifies the Hyperlink for Cells.
Declaration
public SpreadsheetCellBuilder<T> Hyperlink(Action<SpreadsheetHyperlinkBuilder<T>> hyperlink)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetHyperlinkBuilder<T>> | hyperlink | The Hyperlink using SpreadsheetHyperlinkBuilder. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Index(Int32)
Specifies the index for cell.
Declaration
public SpreadsheetCellBuilder<T> Index(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index for cell. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
IsLocked(Boolean)
Specifies the value for cells.
Declaration
public SpreadsheetCellBuilder<T> IsLocked(bool isLocked)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isLocked |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Style(SpreadsheetCellStyles)
Specifies the styles for cell.
Declaration
public SpreadsheetCellBuilder<T> Style(SpreadsheetCellStyles style)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetCellStyles | style | The style using SpreadsheetCellStyles object. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Style(Action<SpreadsheetStyleBuilder<T>>)
Specifies the styles for cells.
Declaration
public SpreadsheetCellBuilder<T> Style(Action<SpreadsheetStyleBuilder<T>> style)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetStyleBuilder<T>> | style | The style using SpreadsheetStyleBuilder. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |
Value(String)
Specifies the value for cell.
Declaration
public SpreadsheetCellBuilder<T> Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value for cell. |
Returns
Type | Description |
---|---|
SpreadsheetCellBuilder<T> |