Describe the bug
Somewhere between the v91 and v92 we lost the ability to apply custom textAlign styles to the datagrid header by adding custom styles to display column property.
Here's v91 demo and v92 demo.

Impact and severity
Original issue from Lens: elastic/kibana#180103
Additional context
It happened because we removed flex-grow:1 style from this element so the child doesn't align to the whole container now:
I wonder if it's safe to just add it again? We could fix it from Kibana side overriding the styles, but it's an ugly way and can cause more problems in the future.
Describe the bug
Somewhere between the v91 and v92 we lost the ability to apply custom

textAlignstyles to the datagrid header by adding custom styles todisplaycolumn property.Here's v91 demo and v92 demo.
Impact and severity
Original issue from Lens: elastic/kibana#180103
Additional context
It happened because we removed
flex-grow:1style from this element so the child doesn't align to the whole container now:I wonder if it's safe to just add it again? We could fix it from Kibana side overriding the styles, but it's an ugly way and can cause more problems in the future.