Unplanned
Last Updated: 27 Oct 2017 13:44 by ADMIN
When setting the VirtualItemCount on refreshing the data source, the scrollbar jumps to the top. If the VirtualItemCount is initially set, the behavior is not reproduced. The workaround is to use the scrolling mechanism of the control and scroll back to the desired item.
Unplanned
Last Updated: 28 Sep 2017 11:30 by ADMIN
Currently, the following workaround can be applied:

private void RadGridView_Loaded(object sender, RoutedEventArgs e)
{
	var gridView = sender as RadGridView;
	foreach (var column in gridView.Columns)
	{
		if (!column.IsResizable)
		{
			Dispatcher.BeginInvoke((Action) (() =>
			{
				var radGridView = column.Parent;
				foreach (var header in radGridView.ChildrenOfType<GridViewHeaderCell>())
				{
					if (header.Column.DisplayIndex == column.DisplayIndex)
					{
						var leftGripper = header.ChildrenOfType<Thumb>().Where(x => x.Name == "PART_LeftHeaderGripper").First();
						{
							leftGripper.Visibility = Visibility.Collapsed;
						}
					}
					else if (header.Column.DisplayIndex == (column.DisplayIndex - 1))
					{
						var rightGripper = header.ChildrenOfType<Thumb>().Where(x => x.Name == "PART_RightHeaderGripper").First();
						{
							rightGripper.Visibility = Visibility.Collapsed;
						}
					}
				}
			}), DispatcherPriority.Render);
		}
	}
}
Unplanned
Last Updated: 13 Sep 2017 13:34 by ADMIN
This is reproducible in a hierarchical scenario. The nested gridview loses its selection when its parent row is scrolled out of the viewport.
Unplanned
Last Updated: 30 Aug 2017 18:54 by ADMIN
workaround:
public MainWindow()
{
    InitializeComponent();

    this.grid.Loaded += grid_Loaded;
}

void grid_Loaded(object sender, RoutedEventArgs e)
{
    this.grid.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "PART_OuterGrid").RowDefinitions[1].Height = GridLength.Auto;

    var cells = this.grid.ChildrenOfType<GridViewHeaderCell>();
    foreach (GridViewHeaderCell cell in cells)
    {
        cell.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "PART_OuterGrid").RowDefinitions[1].Height = GridLength.Auto;
    }
}
Unplanned
Last Updated: 16 Aug 2017 07:54 by ADMIN
Unplanned
Last Updated: 17 Jul 2017 09:15 by ADMIN
To work this around you can set the EnableColumnGroupsVirtualization to False.

Alternatively you can change the FrozenColumnCount before adding the columns, and reset it once the process is done. For example:

gridTriffDetails.FrozenColumnCount = 0;
 
gridTriffDetails.Columns.Add(newColumn);
gridTriffDetails.Columns.Add(newColumn1);
gridTriffDetails.Columns.Add(newColumn2);
 
gridTriffDetails.FrozenColumnCount = 1;
Unplanned
Last Updated: 14 Jun 2017 06:50 by Lukas
workaround is to override the OnInitialized of the custom column:

 protected override void OnInitialized(EventArgs e)
        {/* //if XAML assemblies

            Theme theme = StyleManager.GetTheme(this);
            Type themeType = null;
            if (theme != null)
            {
                themeType = theme.GetType();
            }
            this.DefaultStyleKey = new ThemeResourceKey() { ElementType = typeof(Telerik.Windows.Controls.GridViewColumn), ThemeType = themeType };*/
        }
Unplanned
Last Updated: 09 Jun 2017 15:02 by ADMIN
As a temporary workaround, the following custom keyboard command provider can be used:

	public class CustomKeyboardCommandProvider : DefaultKeyboardCommandProvider
	{
		private GridViewDataControl parentGrid;

		public CustomKeyboardCommandProvider(GridViewDataControl grid)
		 : base(grid)
		{
			this.parentGrid = grid;
		}

		public override IEnumerable<ICommand> ProvideCommandsForKey(Key key)
		{
			List<ICommand> commandsToExecute = base.ProvideCommandsForKey(key).ToList();

			if (key == Key.Enter)
			{
				commandsToExecute.Clear();
				commandsToExecute.Add(RadGridViewCommands.CommitEdit);
				commandsToExecute.Add(RadGridViewCommands.BeginEdit);
				commandsToExecute.Add(RadGridViewCommands.MoveDown);
			}

			return commandsToExecute;
		}
	}
Unplanned
Last Updated: 07 Apr 2017 16:32 by ADMIN
Unplanned
Last Updated: 04 Apr 2017 07:46 by ADMIN
ADMIN
Created by: Dilyan Traykov
Comments: 0
Category: GridView
Type: Bug Report
0

			
Unplanned
Last Updated: 17 Mar 2017 14:37 by ADMIN
ADMIN
Created by: Stefan Nenchev
Comments: 2
Category: GridView
Type: Bug Report
0

			
Unplanned
Last Updated: 08 Feb 2017 17:03 by ADMIN
Unplanned
Last Updated: 30 Jan 2017 15:14 by ADMIN
Unplanned
Last Updated: 30 Jan 2017 15:14 by ADMIN
Unplanned
Last Updated: 19 Jan 2017 13:37 by ADMIN
Unplanned
Last Updated: 10 Jan 2017 15:20 by Artem