This is a migrated thread and some comments may be shown as answers.

Clicking on a Resize Column handle scrolls entire grid back to first column

0 Answers 69 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 23 Jul 2019, 08:42 PM

Is there a property that I can set to turn this behavior off? If I click on the a resize handle, even if I do not resize, the grid scrolls back to the beginning. Therefore, if the whole grid won't fit on the screen without horizontal scrolling, the user won't be able to resize columns that are only visible by scrolling to the right. As soon as they click on the resize handle, the grid scrolls back to the beginning and the column they are trying to resize if off screen.

My code for the table looks like this:

<tg:RadDataGrid

RelativePanel.Below="ColumnsVisibleCheckboxes"

RelativePanel.AlignLeftWithPanel="True"

RelativePanel.AlignRightWithPanel="True"

ColumnDataOperationsMode="Flyout"

x:Name="grid" ItemsSource="{x:Bind ViewModel.Source}"

AutoGenerateColumns="False"

VerticalAlignment="Stretch"

GridLinesVisibility="Both" GridLinesBrush="LightGray"

GridLinesThickness="1" AlternationStep="2"

AlternationStartIndex="0" RowBackground="#3D3B3B"

AlternateRowBackground="#3A494F"

UserEditMode="Inline"

SelectionMode="Extended"

ColumnResizeHandleDisplayMode="Always"

UserGroupMode="Auto"

ScrollViewer.VerticalScrollMode="Auto"

ScrollViewer.VerticalScrollBarVisibility="Auto"

ScrollViewer.HorizontalScrollMode="Auto"

ScrollViewer.HorizontalScrollBarVisibility="Auto">

Thanks for your help!

No answers yet. Maybe you can help?

Tags
DataGrid
Asked by
Matthew
Top achievements
Rank 1
Share this question
or