Implementation-neutral cell in the first-sheet table export model.
Package
@sheetwrite/xlsx
Source
packages/xlsx/src/table-export.ts#L14
Members 5
value
value: CellScalartype CellScalar = string | number | boolean | null;typeCellScalar=string|number|boolean|null;typeCellScalar=|string|number|boolean|null;A scalar that can be displayed directly.API reference →;
style
style?:CellStyleinterface CellStyle {
bold?: boolean;
italic?: boolean;
underline?: boolean;
strikethrough?: boolean;
fontSize?: number;
color?: string;
backgroundColor?: string;
align?: CellAlign;
wrap?: boolean;
border?: CellBorders;
}interfaceCellStyle {bold?:boolean;italic?:boolean;underline?:boolean;strikethrough?:boolean;fontSize?:number;color?:string;backgroundColor?:string;align?:CellAlign;wrap?:boolean;border?:CellBorders;}interfaceCellStyle {bold?:boolean;italic?:boolean;underline?:boolean;strikethrough?:boolean;fontSize?:number;color?:string;backgroundColor?:string;align?:CellAlign;wrap?:boolean;border?:CellBorders;}Serializable formatting applied to a cell or used as a column default.API reference →;
numberFormat
numberFormat?: string;
columnSpan
columnSpan?: number;
rowSpan
rowSpan?: number;
Declaration
View full TypeScript declaration
exportinterfaceXlsxModelCell {
value:CellScalartype CellScalar = string | number | boolean | null;typeCellScalar=string|number|boolean|null;typeCellScalar=|string|number|boolean|null;A scalar that can be displayed directly.API reference →;
style?:CellStyleinterface CellStyle {
bold?: boolean;
italic?: boolean;
underline?: boolean;
strikethrough?: boolean;
fontSize?: number;
color?: string;
backgroundColor?: string;
align?: CellAlign;
wrap?: boolean;
border?: CellBorders;
}interfaceCellStyle {bold?:boolean;italic?:boolean;underline?:boolean;strikethrough?:boolean;fontSize?:number;color?:string;backgroundColor?:string;align?:CellAlign;wrap?:boolean;border?:CellBorders;}interfaceCellStyle {bold?:boolean;italic?:boolean;underline?:boolean;strikethrough?:boolean;fontSize?:number;color?:string;backgroundColor?:string;align?:CellAlign;wrap?:boolean;border?:CellBorders;}Serializable formatting applied to a cell or used as a column default.API reference →;