DataGrid: ColumnHeaders are inaccurately visualized when HeaderContentTemplate is set and horizontal scrolling is performed
Posted on:05 Jul 2018 12:13
You can achieve the required approach by implementing a TemplateSelector feature inside the DataTemplate.
For more details, please check the following link where the same issue is discussed: https://www.telerik.com/forums/can-you-turn-off-ui-virtualization#rHyX0PVnskCX4l0Lmy7kZg
Posted on:28 Jun 2018 18:23
Binding works as you show, but when I add a second item (Entry) to the DataTemplate, that specific control get's shown In wrong column on scrolling. Tried binding it's ClassIdProperty to HeaderText, not working. When I bind to TextProperty of the Entry to HeaderText, it works... but that's not helpful in that I need user to interact with the Entry.
Do you (please!) have a suggestion/workaround that will allow me to have a second control (Entry) in the DataTemplate?