Edit this page

sheets.rows.cells.borderRight Object

The style information for the right border of the cell.

sheets.rows.cells.borderRight.color String

The right border color of the cell.

Many standard CSS formats are supported, but the canonical form is "#ccff00".

sheets.rows.cells.borderRight.size Number

The width of the border in pixels.

The allowed values are:

  • 1 - Results in a "thin" border.
  • 2 - Results in a "medium" border.
  • 3 - Results in a "thick" border.

Example - add a right border to the cell

var workbook = new kendo.ooxml.Workbook({
sheets: [
     rows: [
       { cells: [ { value: "Border", borderRight: { color: "#ff0000", size: 3 } } ] }
dataURI: workbook.toDataURL(),
fileName: "Test.xlsx"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article