OdsCellField
OdsCellField class
Represents the cell field of ods.
class OdsCellField;
Properties
Property | Type | Description |
---|---|---|
customFormat | string | Represents the custom format of the field’s value. |
fieldType | OdsCellFieldType | Gets and sets the type of the field. |
row | number | Get and sets the row index of the cell. |
column | number | Get and sets the column index of the cell. |
Methods
Method | Description |
---|---|
getCustomFormat() | @deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value. |
setCustomFormat(string) | @deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value. |
getFieldType() | @deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field. |
setFieldType(OdsCellFieldType) | @deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field. |
getRow() | @deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell. |
setRow(number) | @deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell. |
getColumn() | @deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell. |
setColumn(number) | @deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell. |
isNull() | Checks whether the implementation object is null. |
customFormat
Represents the custom format of the field’s value.
customFormat : string;
fieldType
Gets and sets the type of the field.
fieldType : OdsCellFieldType;
row
Get and sets the row index of the cell.
row : number;
column
Get and sets the column index of the cell.
column : number;
getCustomFormat()
@deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value.
getCustomFormat() : string;
setCustomFormat(string)
@deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value.
setCustomFormat(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
getFieldType()
@deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field.
getFieldType() : OdsCellFieldType;
Returns
setFieldType(OdsCellFieldType)
@deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field.
setFieldType(value: OdsCellFieldType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | OdsCellFieldType | The value to set. |
getRow()
@deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell.
getRow() : number;
setRow(number)
@deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell.
setRow(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getColumn()
@deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell.
getColumn() : number;
setColumn(number)
@deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell.
setColumn(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;