[x] Considered the value versus complexity for all users of the library as well as library maintenance
[x] Considered if this can be a storybook or documentation example
Is your feature request related to a problem? Please describe
If I use style property in a TableColumn to apply styles to a particular column only (not all columns), it only applies to the (non-header) data cells in the column.
For example:
style: {
borderRight: '1px solid green',
},
This shows a right border in the data cells only, not in the header cells.
Describe the solution you'd like
I would like to apply it to the header cell as well. Or there could be a headCellStyles property.
Describe alternatives you've considered
I could write CSS like this (in its simplest form, not considering SCSS modules that need :global to wrap it):
Feature Check list
Is your feature request related to a problem? Please describe
If I use
style
property in aTableColumn
to apply styles to a particular column only (not all columns), it only applies to the (non-header) data cells in the column.For example:
This shows a right border in the data cells only, not in the header cells.
Describe the solution you'd like
I would like to apply it to the header cell as well. Or there could be a
headCellStyles
property.Describe alternatives you've considered
I could write CSS like this (in its simplest form, not considering SCSS modules that need
:global
to wrap it):Feels like a hack but it works!
Additional context
Nil.