OdsCellFieldCollection

OdsCellFieldCollection class

Represents the fields of ODS.

class OdsCellFieldCollection;

Methods

MethodDescription
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:

ParameterTypeDescription
indexnumberThe index.

Returns

OdsCellField

get(number, number)

Gets the field by row and column index.

get(row: number, column: number) : OdsCellField;

Parameters:

ParameterTypeDescription
rownumberThe row index.
columnnumberThe column 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;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;