New to Kendo UI for AngularStart a free 30-day trial

CellOptions

Interface

The options for the Excel Export cell.

Definition

Package:@progress/kendo-angular-excel-export

Properties

Sets the background color of the cell. Supports hex CSS-like values that start with "#". For example, "#ff00ff".

bold?

boolean

If set to true, renders the cell value in bold.

The style information for the bottom border of the cell.

The style information for the left border of the cell.

The style information for the right border of the cell.

The style information for the top border of the cell.

color?

string

The text color of the cell. Supports hex CSS-like values that start with "#". For example, "#ff00ff".

Sets the font that is used to display the cell value.

fontSize?

number

Sets the font size in pixels.

format?

string

Sets the format that Excel uses to display the cell value. For more information, refer to the page on supported Excel formats.

italic?

boolean

If italics is set to true, the cell value is rendered in italics.

textAlign?

"left" | "center" | "right"

Sets the horizontal alignment of the cell value.

The supported values are:

  • "left"
  • "center"
  • "right"

underline?

boolean

If underline is set to true, the cell value is underlined.

verticalAlign?

"center" | "top" | "bottom"

Sets the vertical alignment of the cell value.

The supported values are:

  • "top"
  • "center"
  • "bottom"

wrap?

boolean

If wrap is set to true, the cell value is wrapped.