aspnetcore-js-devexpress-dot-richedit-919e59d9.md
Contains cell borders.
export interface ITableCellBorders
Use the TableCell.borders property to access cell borders and customize their settings.
Note
Cell border settings take priority over table border settings.
The following code example customizes cell borders:
const subDocument = richEdit.selection.activeSubDocument;
const table = subDocument.tables.getByIndex(0);
const cell = table.rows.getByIndex(1).cells.getByIndex(0);
cell.borders = { top: { style: 5, color: 'blue', width: 20} }
ITableCellBorders TableCellBorders
Returns a cell’s bottom border settings.
bottom?: TableBorder
| Type | Description |
|---|---|
| TableBorder |
An object that contains border settings.
|
Returns a cell’s left border settings.
left?: TableBorder
| Type | Description |
|---|---|
| TableBorder |
An object that contains border settings.
|
Returns a cell’s right border settings.
right?: TableBorder
| Type | Description |
|---|---|
| TableBorder |
An object that contains border settings.
|
Returns a cell’s top border settings.
top?: TableBorder
| Type | Description |
|---|---|
| TableBorder |
An object that contains border settings.
|