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

CellOptions

The options for the Excel Export cell.

NameTypeDefaultDescription

background?

string

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.

borderBottom?

WorkbookSheetRowCellBorderBottom

The style information for the bottom border of the cell.

borderLeft?

WorkbookSheetRowCellBorderLeft

The style information for the left border of the cell.

borderRight?

WorkbookSheetRowCellBorderRight

The style information for the right border of the cell.

borderTop?

WorkbookSheetRowCellBorderTop

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".

fontFamily?

string

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.

Not finding the help you need?
Contact Support