Followed steps in the post: Can Office Fabric DetailsList column headers be styled?. I was able to style the header, but few of headers are very lengthy and its getting truncated.
I tried using wordWrap: 'break-word' in style but it didn't change anything:
private renderCustomHeaderTooltip(tooltipHostProps: ITooltipHostProps): JSX.Element {
return (
<span
style={{
display: 'flex',
fontWeight: 'bold',
wordWrap: 'break-word'
}}
>
{tooltipHostProps.children}
</span>
);
}
Is it possible to wrap and display full header in Office-UI-fabric Detail list?