You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I scroll horizontal scrollbar to needed value using this piece of code:
var horizontalScroll = (((((TDG.GetVisualChildren().Cast<Visual>().ToList()[0] as Border).GetVisualChildren().Cast<Visual>().ToList()[0] as DockPanel).GetVisualChildren().Cast<Visual>().ToList()[1] as ScrollViewer).GetVisualChildren().Cast<Visual>().ToList()[0] as Grid).GetVisualChildren().Cast<Visual>().ToList()[1] as ScrollBar);
horizontalScroll.Value = xOffset;
and after that move vertical scroll manually I experience this problem (in picture below)
In total I had over 6k rows loaded to my TreeDataGrid's datasource.
All my columns have width set using new GridLength(200, GridUnitType.Pixel)
The reason I am setting the offset like this is because using basic TDG.Scroll.Offset often results in not desired position of the scroll.
The offset I am setting is based on how many columns I have and what length they have.
Visually I get desired result (I move my scroll to focused cell programmatically) but it results in visual elements' collapse.
However, it is solved if I manually move horizontal scroll from left side (first column) to right side (last column)
The text was updated successfully, but these errors were encountered:
I found this issue #6 (comment)
but it's already fixed, isn't it?
Why do I experience then?
Some of my columns have controls like Combobox as editing templates.
I wonder could it be the reason of such behaviour
When I scroll horizontal scrollbar to needed value using this piece of code:
and after that move vertical scroll manually I experience this problem (in picture below)
In total I had over 6k rows loaded to my TreeDataGrid's datasource.
All my columns have width set using
new GridLength(200, GridUnitType.Pixel)
The reason I am setting the offset like this is because using basic TDG.Scroll.Offset often results in not desired position of the scroll.
The offset I am setting is based on how many columns I have and what length they have.
Visually I get desired result (I move my scroll to focused cell programmatically) but it results in visual elements' collapse.
However, it is solved if I manually move horizontal scroll from left side (first column) to right side (last column)
The text was updated successfully, but these errors were encountered: