1
Answer

Vertical scrollbar in Datagrid

Photo of Roshni Faye

Roshni Faye

9y
459
1
Hello,
 
I am having Datagrid, I need to show vertical scroll bar in it. I tried following but not working.
 
<DataGrid x:Name="VoterMaster_grid" ItemsSource="{Binding Tables}" CanUserResizeRows="False" CanUserAddRows="False" AutoGenerateColumns="False" IsReadOnly="True"
ScrollViewer.CanContentScroll="False" VerticalScrollBarVisibility="Auto" MouseDoubleClick="VoterMaster_grid_MouseDoubleClick_1"   >

Answers (1)

0
Photo of Amit Choudhary
NA 27.7k 3m 13y

Jquery would help just like that.. pass the id of your rendered element and use below function of jquery

$("id").hide();