igniteui-react-grids
Version:
Ignite UI React grid components.
49 lines (48 loc) • 1.35 kB
JavaScript
import { GroupSummaryDisplayMode_$type } from "./GroupSummaryDisplayMode";
import { IgrCellInfo } from "./igr-cell-info";
import { SectionHeaderCellModel as SectionHeaderCellModel_internal } from "./SectionHeaderCellModel";
import { ensureEnum } from "igniteui-react-core";
/**
* Backing information for a section header cell in the grid.
*/
export class IgrSectionHeaderCellInfo extends IgrCellInfo {
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);
}
}