OdsCellFieldCollection
Contents
[
Hide
]OdsCellFieldCollection class
Represents the fields of ODS.
class OdsCellFieldCollection;
Methods
Method | Description |
---|---|
get(number) | Gets the field by the index. |
get(number, number) | Gets the field by row and column index. |
add(number, number, OdsCellFieldType, string) | Adds a field. |
updateFieldsValue() | Update fields value to the cells. |
getCount() | Gets the number of elements contained in. |
isNull() | Checks whether the implementation object is null. |
get(number)
Gets the field by the index.
get(index: number) : OdsCellField;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Returns
get(number, number)
Gets the field by row and column index.
get(row: number, column: number) : OdsCellField;
Parameters:
Parameter | Type | Description |
---|---|---|
row | number | The row index. |
column | number | The column index. |
Returns
add(number, number, OdsCellFieldType, string)
Adds a field.
add(row: number, column: number, fieldType: OdsCellFieldType, format: string) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
row | number | The row index. |
column | number | The column index. |
fieldType | OdsCellFieldType | The type of the field. |
format | string | The number format of the field. |
updateFieldsValue()
Update fields value to the cells.
updateFieldsValue() : void;
getCount()
Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;