DataGridCellBorders: {
    bottom?: boolean;
    left?: boolean;
    right?: boolean;
    top?: boolean;
}

Data structure that describes border visibility of 1 cell in a DataGrid.

Use with methods:

 // Example, hide top border and show bottom border from cell at column 1 and row 1.
DataGrid.setCellBorders(1, 1, { top: false, bottom: true })

Type declaration

  • Optional bottom?: boolean
  • Optional left?: boolean
  • Optional right?: boolean
  • Optional top?: boolean