Ordinarily the SfDataGrid shows scrollbars as needed to allow user to scroll to see the last row or column.
However I'm experiencing an issue where the SfDataGrid does not display any scrollbars if I am creating columns and binding
values manually at runtime. I can't seem to find a way to trigger the scrollbars to appear automatically.
For example:
dg = new SfDataGrid();for ( x = 1; x = 20; x++ ){ GridCheckBoxColumn x = new GridCheckBoxColumn(); x. HeaderText = x; x.ValueBinding = new Binding("some_value"); dg.Columns.Add(x);}dg.ItemsSource = SomeCollection;Any suggestions?