igniteui-react-grids
Version:
Ignite UI React grid components.
88 lines (87 loc) • 3.49 kB
TypeScript
import { DataSourceSummaryOperand } from "igniteui-react-core";
import { IgrFormatSummaryTextEventArgs } from "./igr-format-summary-text-event-args";
import { IgrProvideCalculatorEventArgs } from "igniteui-react-core";
import { ColumnSummaryDescription as ColumnSummaryDescription_internal } from "./ColumnSummaryDescription";
import { ContentChildrenManager } from "igniteui-react-core";
/**
* Represents a summary that is applied to a datasource. Changes to this object are not observed or expected after it is initially assigned to a collection.
*/
export declare class IgrColumnSummaryDescription {
protected createImplementation(): ColumnSummaryDescription_internal;
protected _implementation: any;
protected mounted: boolean;
get nativeElement(): HTMLElement;
/**
* @hidden
*/
get i(): ColumnSummaryDescription_internal;
protected onImplementationCreated(): void;
protected _contentChildrenManager: ContentChildrenManager;
constructor();
protected _provideImplementation(i: any): void;
get field(): string;
set field(v: string);
get operand(): DataSourceSummaryOperand;
set operand(v: DataSourceSummaryOperand);
/**
* Gets or sets the name to use when displaying the calculator name.
*/
get calculatorDisplayName(): string;
set calculatorDisplayName(v: string);
/**
* Gets or sets the display name for the summary.
*/
get displayName(): string;
set displayName(v: string);
/**
* Gets or sets the format string for the summary value.
*/
get valueFormat(): string;
set valueFormat(v: string);
/**
* Gets or sets whether the summary value should be displayed.
*/
get shouldDisplay(): boolean;
set shouldDisplay(v: boolean);
/**
* Gets or sets the format specifiers to use with the ValueFormat string.
*/
get valueFormatSpecifiers(): any[];
set valueFormatSpecifiers(v: any[]);
/**
* Gets or sets the display format for the summary when in list display mode.
*/
get displayFormat(): string;
set displayFormat(v: string);
/**
* Gets or sets the format specifiers to use with the DisplayFormat string.
*/
get displayFormatSpecifiers(): any[];
set displayFormatSpecifiers(v: any[]);
/**
* Gets or sets an INTL.DateTimeFormat or INTL.NumericFormat to use to format the value.
*/
get formatOverride(): any;
set formatOverride(v: any);
/**
* Gets or sets the maximum fraction digits. If a format is specificied this value is ignored.
*/
get maxFractionDigits(): number;
set maxFractionDigits(v: number);
findByName(name: string): any;
equals(other: any): boolean;
private _formatText;
private _formatText_wrapped;
/**
* Called when the value is being formatted.
*/
get formatText(): (s: IgrColumnSummaryDescription, e: IgrFormatSummaryTextEventArgs) => void;
set formatText(ev: (s: IgrColumnSummaryDescription, e: IgrFormatSummaryTextEventArgs) => void);
private _provideCalculator;
private _provideCalculator_wrapped;
/**
* Called when the summary calculator is required.
*/
get provideCalculator(): (s: IgrColumnSummaryDescription, e: IgrProvideCalculatorEventArgs) => void;
set provideCalculator(ev: (s: IgrColumnSummaryDescription, e: IgrProvideCalculatorEventArgs) => void);
}