Vineeth N
Vineeth N

Reputation: 59

how to add a scroll bar in data grid column

Example dgTest datagrid row height=40 , one of the datagrid column contain text field .it doesn't shows full details . I would like to set scroll bar on that column . when row size is greater than 40 then the scroll bar should show , it will help me to a clear view ....

Upvotes: 0

Views: 184

Answers (1)

Shee
Shee

Reputation: 1925

You can make use of a ScrollViewer

Something like this

<ScrollViewer>
  <DataGrid>
 //ur code 
 </DataGrid>
</ScrollViewer>

check this out Data grid height is too tall when using word-wrap in text block column

Upvotes: 1

Related Questions