I have a DataGrid with single row. I want to scroll the content inside the DataGrid. I have used following way to do it.
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" MaxHeight="250">
<DataGrid VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" MaxWidth="800" Grid.Row="1"/>
</ScrollViewer>
As I am using ScrollViewer outside the datagrid, it scrolls whole datagrid. I want to scroll content inside row by enabling vertical scrollbar for a single row. Is this possible?
Delete the
ScrollViewer
,DataGrid
has got its ownScrollviewer
builtin. Setor
in your
DataGrid