DataGrid: TextHorizontalOptions of the DataGridColumnHeaderStyle set to "Center" is not respected
Setting TextHorizontalOptions of the DataGridColumnHeaderStyle to "Center" takes no effect.
1 comment
ADMIN
Yana
Posted on:24 Apr 2024 06:40
We've reviewed this bug report and it seems more of a limitation due to the way the elements in the column header (header text, sort indicator or universal indicator, filter indicator) are aligned.
In short, when changing the text alignment of the header text, the current position of the sort indicator should be considered as well. Both elements are ordered in a defined way and modifying the position of any of them affects the other one.
To position the column header text to Center, you have to set the SortDescriptor position to Center as well:
I've updated the status of this bug report to "Declined".
Regards,
Yana
Progress Telerik
A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com