Hi,
I have a rad grid view with the settings below. I must bind an item that contains lot's of properties, meaning a lot of columns and meaning that the horizontal scrollbar will appear at the bottom of the grid. I therefore need to scroll around to view all columns / cells in the grid. When I select a cell to the very right of the grid (after scrolling), the scrollbar automatically jumps to the left, sometimes to the beginning of the grid, sometimes about mid-way in the grid. I then have to scroll back again manually to the right to find the cell I wanted to edit . This is highly inconvenient when you have to work on a grid with lot's of data. I attached a screenshot highlighting the issue.
I am using Telerik controls for WPF with Telerik.Windows.Controls.GridView.dll version: 2012.3.1017.40
Here's my grid configuration:
Here's my code:
I have a rad grid view with the settings below. I must bind an item that contains lot's of properties, meaning a lot of columns and meaning that the horizontal scrollbar will appear at the bottom of the grid. I therefore need to scroll around to view all columns / cells in the grid. When I select a cell to the very right of the grid (after scrolling), the scrollbar automatically jumps to the left, sometimes to the beginning of the grid, sometimes about mid-way in the grid. I then have to scroll back again manually to the right to find the cell I wanted to edit . This is highly inconvenient when you have to work on a grid with lot's of data. I attached a screenshot highlighting the issue.
I am using Telerik controls for WPF with Telerik.Windows.Controls.GridView.dll version: 2012.3.1017.40
Here's my grid configuration:
<Grid> <telerik:RadGridView x:Name="MyGridView" AutoGenerateColumns="True" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="True" IsFilteringAllowed="False" ShowGroupPanel="False" ColumnWidth="250" ShowColumnHeaders="False" RowIndicatorVisibility="Collapsed" SelectionUnit="Cell" CanUserFreezeColumns="False" FrozenColumnCount="1" EditTriggers="Default"> <telerik:RadGridView.Columns> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid>
Here's my code:
public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); List<Item> items = new List<Item>(); items.Add(new Item() { TimeIn = DateTime.Now }); items.Add(new Item() { TimeIn = DateTime.Now }); items.Add(new Item() { TimeIn = DateTime.Now }); items.Add(new Item() { TimeIn = DateTime.Now }); this.MyGridView.ItemsSource = items; } } public class Item { public DateTime TimeIn { get; set; } public string SomeTextItem { get; set; } public string SomeTextItem1 { get; set; } public string SomeTextItem2 { get; set; } public string SomeTextItem3 { get; set; } public string SomeTextItem4 { get; set; } public string SomeTextItem5 { get; set; } public string SomeTextItem6 { get; set; } public string SomeTextItem7 { get; set; } public string SomeTextItem8 { get; set; } public string SomeTextItem9 { get; set; } public string SomeTextItem10 { get; set; } public string SomeTextItem11 { get; set; } public string SomeTextItem12 { get; set; } public string SomeTextItem13 { get; set; } public string SomeTextItem14 { get; set; } public string SomeTextItem15 { get; set; } public string SomeTextItem16 { get; set; } public string SomeTextItem17 { get; set; } public string SomeTextItem18 { get; set; } public string SomeTextItem19 { get; set; } }