UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

49 lines (48 loc) 1.36 kB
import { GroupSummaryDisplayMode_$type } from "./GroupSummaryDisplayMode"; import { IgcCellInfo } from "./igc-cell-info"; import { SectionHeaderCellModel as SectionHeaderCellModel_internal } from "./SectionHeaderCellModel"; import { ensureEnum } from "igniteui-webcomponents-core"; /** * Backing information for a section header cell in the grid. */ export class IgcSectionHeaderCellInfo extends IgcCellInfo { createImplementation() { return new SectionHeaderCellModel_internal(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } /** * Sets or gets the resolved text for the section header cell. */ get resolvedText() { return this.i.mv; } set resolvedText(v) { this.i.mv = v; } /** * Sets or gets the resolved summary text for the section header cell. */ get resolvedSummaryText() { return this.i.mt; } set resolvedSummaryText(v) { this.i.mt = v; } /** * Sets or gets how summaries are displayed in the section header cell. */ get summaryDisplayMode() { return this.i.mk; } set summaryDisplayMode(v) { this.i.mk = ensureEnum(GroupSummaryDisplayMode_$type, v); } }