Approved
Last Updated: 19 Apr 2018 11:19 by ADMIN
ADMIN
Created by: Dinko
Comments: 0
Category: GridView
Type: Bug Report
0

			
Approved
Last Updated: 13 Mar 2018 12:12 by ADMIN
Approved
Last Updated: 27 Feb 2018 16:37 by ADMIN
Approved
Last Updated: 09 Feb 2018 14:19 by Vladimir
If you have a RadComboBox inside a ControlPanelItem, when you open the RadComboBox's dropdown and select an item, the ControlPanelItem is not closed. As a workaround, you can manually capture the mouse. Please check the attached project.
Approved
Last Updated: 16 Feb 2018 12:35 by Jack
Created by: Jack
Comments: 0
Category: GridView
Type: Bug Report
0
Hello

Good job with the Fluent theme! I'm using the core styles with validation in my GridViews and have noticed that the bottom border is not/barely visible in invalid grid cells (see attached screenshot).

I can fix this by taking a copy of GridViewCellCoreValidationTemplate and adding Margin="0 0 0 1" to Background_Invalid.

Cheers
Jack
Approved
Last Updated: 21 Mar 2018 15:39 by ADMIN
Approved
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.
Approved
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);
		}
	}
}
Approved
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.
Approved
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;
    }
}
Approved
Last Updated: 08 Feb 2019 08:54 by ADMIN
This happens in the following scenarios:

1. The FilterMemberPath points to the Date property of a DateTime one.
2. The column name contains "[]" square brackets.
Approved
Last Updated: 25 Aug 2017 11:55 by ADMIN
The issue is reproduced only when the items in the source collection have properties with duplicated values and they are sorted before the selection is processed. If the property values are unique or the SelectionMode is set to Multiple, the selection works as expected both with sorted and unsorted data. The workaround is to use either Multiple SelectionMode, or Cell/Mixed SelectionUnit.
Approved
Last Updated: 16 Aug 2017 07:54 by ADMIN
Approved
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 };*/
        }
Approved
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;
		}
	}
Approved
Last Updated: 07 Apr 2017 16:32 by ADMIN