We have requirement is like. in Vlocity Omniscript designer we have added LWC component. In LWC we have only Lighting Datatable. And in this datatable we need to change the Table Header for font Color and back ground color. I have tried almost everythings but its not working. basic one was
.THIS.table-test > table> tr th {
background-color: #fafaf9 !important;
color: #00b0ea !important;
} also not working.
in HTML code is basic
<lightning-datatable
class="table-test"
key-field="id"
data={data}
columns={columns}
max-row-selection="1"
onrowselection={HanldeEvent}>
</lightning-datatable>
even I have tried with cellattributes also Can anyone please help me on this.
thanks in advance