Class SpreadsheetRowBuilder<T>
Specifies the class for row builder which includes row index, row height and cell value properties.
Inheritance
System.Object
SpreadsheetRowBuilder<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 SpreadsheetRowBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetRowBuilder(Sheet)
Initializes a new instance of the SpreadsheetRowBuilder<T> with the specified sheet.
Declaration
public SpreadsheetRowBuilder(Sheet sheet)
Parameters
Type | Name | Description |
---|---|---|
Sheet | sheet | The sheet object. |
Methods
Add()
Add a row to List of rows.
Declaration
public void Add()
Cells(Action<SpreadsheetCellBuilder<T>>)
Specifies the cell value for cells.
Declaration
public SpreadsheetRowBuilder<T> Cells(Action<SpreadsheetCellBuilder<T>> cells)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetCellBuilder<T>> | cells | The cells using CellBuilder. |
Returns
Type | Description |
---|---|
SpreadsheetRowBuilder<T> |
Cells(List<Cell>)
Specifies the cell value for cells.
Declaration
public SpreadsheetRowBuilder<T> Cells(List<Cell> cells)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Cell> | cells | The list of cell using Cell object. |
Returns
Type | Description |
---|---|
SpreadsheetRowBuilder<T> |
Height(Int32)
Specifies the height for rows.
Declaration
public SpreadsheetRowBuilder<T> Height(int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | height | The height for rows. |
Returns
Type | Description |
---|---|
SpreadsheetRowBuilder<T> |
Index(Int32)
Specifies the index for rows.
Declaration
public SpreadsheetRowBuilder<T> Index(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The row index value. |
Returns
Type | Description |
---|---|
SpreadsheetRowBuilder<T> |