I am struggling to implement the display: flex
style on the parent <div>
containing my <span>
However, since the <span>
is dynamically generated by the ng-template
of the ngx-datatable-column
, I'm finding it challenging to apply this style directly in the HTML.
I've attempted adding a style property and using headerClass within the ng-template but without success.
This is how the HTML appears after being rendered:
https://i.sstatic.net/doB6u.png
I need to add a CSS class or apply a style to the <div>
highlighted in the image above.
Here's the original HTML before rendering:
https://i.sstatic.net/xocZO.png
Is there anyone who can assist me in adding a CSS class to the <div>
shown in the image?