NumberDataField
This field class handles field of type Number.
class Person extends Model {
static get fields() {
return [
'name',
{ name : 'age', type : 'number' }
];
}
}
When a field is declared as a 'number', non-null values are promoted to Number type. This is seldom required, but
can be useful if a field value is received as a string but should be treated as a number.
Configs
19
Configs
19The value to replace null when the field is not nullable.
precision: Number
The numeric precision of this field. Values are rounded to the specified number of digits. If null,
the default, no rounding is performed.
alwaysWriteDataField
bypassEqualityOnSyncDatasetDataField
calculateDataField
columnDataField
compareDataField
complexMappingDataField
dataSourceDataField
defaultValueDataField
descriptionDataField
formulaProvidersDataField
internalDataField
labelDataField
nameDataField
nullableDataField
nullTextDataField
persistDataField
readOnlyDataField
Properties
7
Properties
7Class hierarchy
Identifies an object as an instance of NumberDataField class, or subclass thereof.
Identifies an object as an instance of NumberDataField class, or subclass thereof.
isDataFieldDataField
Functions
19
Functions
19Configuration
Events
detachListenersBase