I have a table where the first set of columns differs from the rest. I am looking to emphasize this distinction by adding a vertical border on the right side of the specific column to highlight it both in the header and rows.
Our setup includes using the Balham theme with columnDefs defined in component.ts, and the component.html file containing:
<ag-grid-angular
class="ag-theme-balham"
[rowData]="vm.data$ | async"
[columnDefs]="columnsDefs$ | async"
[gridOptions]="gridOptions"
[columnTypes]="columnTypes"
>
</ag-grid-angular>
In an inquiry on How to style AG-GRID column vertical borders, a proposed solution involved theme customization, but I only want the border on one particular column without affecting others. Even attempting to use
cellStyle: { 'border-right-colour': 'black' }
within the designated columnDef does not display as intended due to the Balham theme's default transparent border settings.
Is there a way to target and style a specific column in the table differently from the rest?