OdsCellFieldCollection

OdsCellFieldCollection class

Represents the fields of ODS.

class OdsCellFieldCollection;

Methods

MethodDescription
get(number)Gets the field by the index.
add(number, number, OdsCellFieldType, string)Adds a field.
updateFieldsValue()Update fields value to the cells.
getCount()Gets the number of elements contained in.

get(number)

Gets the field by the index.

get(index: number) : OdsCellField;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

OdsCellField

add(number, number, OdsCellFieldType, string)

Adds a field.

add(row: number, column: number, fieldType: OdsCellFieldType, format: string) : number;

Parameters:

ParameterTypeDescription
rownumberThe row index.
columnnumberThe column index.
fieldTypeOdsCellFieldTypeThe type of the field.
formatstringThe number format of the field.

updateFieldsValue()

Update fields value to the cells.

updateFieldsValue() : void;

getCount()

Gets the number of elements contained in.

getCount() : number;