@eclipse-scout/core
Version:
Eclipse Scout runtime
29 lines • 1.19 kB
TypeScript
import { ColumnModel, DecimalFormat, DecimalFormatOptions, NumberColumnAggregationFunction } from '../../index';
export interface NumberColumnModel extends ColumnModel<number> {
aggregationFunction?: NumberColumnAggregationFunction;
backgroundEffect?: 'colorGradient1' | 'colorGradient2' | 'barChart';
decimalFormat?: DecimalFormat | string | DecimalFormatOptions;
/**
* Has no effect on the column itself, but is passed to the cell editor if the column is editable.
*
* @see NumberField.fractionDigits
*/
fractionDigits?: number;
/**
* Defines the {@link NumberFieldModel.minValue} of the cell editor if the column is {@link editable}.
*
* The property will only be passed to the cell editor and has no effect on the column itself.
*
* Default is null.
*/
minValue?: number;
/**
* Defines the {@link NumberFieldModel.maxValue} of the cell editor if the column is {@link editable}.
*
* The property will only be passed to the cell editor and has no effect on the column itself.
*
* Default is null.
*/
maxValue?: number;
}
//# sourceMappingURL=NumberColumnModel.d.ts.map