Declined
Last Updated: 21 Apr 2015 13:04 by ADMIN
ADMIN
Created by: Pavel Pavlov
Comments: 5
Category: GridView
Type: Bug Report
11
When you place a DataTrigger whithin a CellTemplate, it is being ignored by RadGridView for WPF

Workaround ( until fixed ) - set the ContentTemplate of the cell via Style in a static resource instead.
Declined
Last Updated: 09 Feb 2016 15:30 by ADMIN
Columns with * width are not measured correctly when GridView is placed in ScrollViewer and its width is changed.
Declined
Last Updated: 24 Mar 2014 13:58 by ADMIN
GridView ColumnGroup Header does not refresh when bound to view model
Declined
Last Updated: 09 Feb 2024 08:26 by ADMIN

Dear Telerik Support Team,

I am encountering an issue with the RadGridView control in my application, which is impacting the usability for users relying on screen readers. Below, I have outlined the details of my development environment, the problem, and attached a sample project demonstrating the issue.

Issue Description:
In the attached sample project, I have implemented a simple RadGridView without any custom styling and populated it with sample data. I have observed that the focus behavior is inconsistent, particularly with the first cell in the RadGridView. When attempting to focus the first cell, only the cell itself receives focus, unlike subsequent cells where both the cell and the entire row are focused. This inconsistency results in screen readers failing to read out the content of the first cell, while they correctly read the contents of all other cells.

Upon further investigation using the Snoop utility to explore the visual tree, I noticed that the GotFocused event for the initially focused cell identifies it as being of type RadGridView, whereas, for other cells, the type is GridViewCell. This discrepancy seems to be at the root of the issue.

Attachments:
I have included a simplified, runnable standalone application that reproduces this behavior. Please find the sample project attached to this ticket.

I believe this might be a bug affecting the accessibility of the application, and I would greatly appreciate your guidance on whether this is a known issue with a workaround or if there's a fix available.

Thank you for your assistance.

Best regards,

 

Christian

First Tab:

Second Tab:

Declined
Last Updated: 23 Feb 2016 17:03 by ADMIN
1. Define a custom AggregateFunction for a column
2. Group on a column
3. A calculation on the AggregateFunction is invoked
3. The Grouping.Key (of the input parameter) corresponds to the correct key
4. Edit a value on the column (having the AggregateFunction)
5. A calculation is invoked, but the Grouping.Key is "1" and not the correct key.
Declined
Last Updated: 21 Feb 2014 10:56 by ADMIN
1. Set RadGridView's setting DragElementAction="ExtendedSelect". 
2. Open a window on selecting a row.
3. Close the window, the RadGridView becomes ExtendedSelect.

Note: Most probably this problem is actually caused by a limitation in the Silverlight platform. Once a Window is shown, there is no way to detect that the mouse is released.
Declined
Last Updated: 15 Apr 2015 16:53 by ADMIN
Declined
Last Updated: 17 Jan 2020 15:22 by ADMIN

Hi Telerik-Team,

 

When creating a new item in the GridView by either mouse or insert button the row is not selected or highlighted.

I guess this is a bug, since a cell in the new row has focus but not the row.

 

Best regards,

Mats

Declined
Last Updated: 01 May 2015 14:49 by ADMIN
Declined
Last Updated: 13 Feb 2015 10:42 by ADMIN
ADMIN
Created by: Dimitrina
Comments: 0
Category: GridView
Type: Bug Report
3
The sort index will not be displayed when applying a custom sorting without adding a SortDescriptor, You can consider implementing Custom Sorting using the IComparable interface instead. As an example please refer to the Custom Sorting with IComparable WPF Demo. Using a generic SortDescriptor would also be an option. 
Please check our online documentation for a further reference: http://docs.telerik.com/devtools/wpf/controls/radgridview/sorting/custom
Declined
Last Updated: 21 Feb 2014 11:10 by ADMIN
ViewRow's background is not correctly colored when RadGridView is within RadBusyIndicator and it is busy. There is no problem if your are using GridViewLoadingIndicator.
Declined
Last Updated: 03 Mar 2015 12:01 by ADMIN
Declined
Last Updated: 21 Jun 2018 14:52 by ADMIN
The performance of the RadGridView scrolling diminishes significantly when the grid has thousands of rows and alternating row styles are used.  This causes scrolling to be virtually unusable.  I note this is a known limitation of the RadGridView from information from https://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/performance 

We have had to remove the alternating row styles from our current product while porting to the RadGridView.  I am requesting if this issue is going to be fixed in the future anytime soon.
Declined
Last Updated: 18 Jul 2016 11:05 by ADMIN
gridviewdatacolumn distinct filter does not respect culture when displaying dates.

All the other display do display the correct format
Declined
Last Updated: 28 Apr 2015 08:11 by ADMIN
Declined
Last Updated: 01 Oct 2018 12:25 by K
1. Select the first row.
2. Hit Ctrl-End to jump to the end of the list. 
3. Hold down the Shift key and select the last row. 
4. Scroll up and notice that everything between the first page and the last page is not selected.

* there is a sample project attached in the support thread
Declined
Last Updated: 13 May 2021 10:37 by ADMIN

Hello, 

I believe that I have found a bug with the delete keyboard functionality using the delete key. Below are the steps to reproduce:

  1. Click on any row of the grid view.
  2. Observe the row is selected.
  3. Click any cell in the selected row to enter into edit mode.
  4. Exit edit mode using escape.
  5. Observe the row is still selected.
  6. Now click the delete button.
  7. Observe the delete operation doesn't work.

 

Note that if the user selects a new row and then selects the previous row the delete works. 

Demo to illustrate is in SDK sample browser.

Grid View Examples - Custom Keyboard Command Provider

Please let me know if you need any additional information.

Thank you.

Declined
Last Updated: 09 Nov 2020 14:55 by ADMIN

I am using a RadGridView to display appointments. I am adding paging to the control with RadDataPager. I am setting the ItemSource property for the RadGridView to {Binding Path=PagedSource, ElementName=unscheduledWorkOrdersRadDataPager }. I am then overriding the ConvertDraggedData(object data) method and using the DataObjectHelper class in order to obtain data from the object data parameter and then setting the returned IEnumerable<IOccurence> accordingly.

The problem is that whenever I added paging to the RadGridView. The DataObjectHelper is not able to properly retrieve the dragged data from the object data parameter.

Declined
Last Updated: 11 Sep 2020 06:05 by ADMIN

Hi guys,

we have a messaging service that broadcasts a couple of messages every 1-5 seconds.

When our client module receives those messages, we want to append them at the bottom of a grid (RadGridView).

After appending them, we also want to scroll to the very bottom of that grid, so that the newest and therefore bottommost items come into view.

 

Documentation and forums suggest we go the AttachedBahaviour and ScrollIntoViewAsync way.

 

Our behaviour looks like this:


    public class ScrollToNewItemBehavior : Behavior<RadGridView>
    { 
        public static bool GetIsEnabled(DependencyObject obj) => (bool)obj.GetValue(IsEnabledProperty);
        public static void SetIsEnabled(DependencyObject obj, bool value) => obj.SetValue(IsEnabledProperty, value);
        public static readonly DependencyProperty IsEnabledProperty = DependencyProperty.RegisterAttached("IsEnabled", typeof(bool), typeof(ScrollToNewItemBehavior), new PropertyMetadata(false, OnIsEnabledChanged));
        private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            if (d is RadGridView gridView)
                gridView.Items.CollectionChanged += (s, args) =>
                {
                    if (args.Action == NotifyCollectionChangedAction.Add)
                    {
                        gridView.ScrollIntoViewAsync(args.NewItems[0], gridView.Columns[0], null);

                        // exchanging args.NewItems[0] for gridView.Items[gridView.Items.Count-1] yields same result
                        //gridView.ScrollIntoViewAsync(gridView.Items[gridView.Items.Count-1], gridView.Columns[0], null);
                    }
                };
        } 
    }


 

Our Message class:


    public class Message : ModelBase<Message>
    {
        public string Text { get; set; }
    }


Our Messages collection in the ViewModel:


        private RadObservableCollection<Message> _messages;
        public RadObservableCollection<Message> Messages
        {
            get => _messages;
            set
            {
                _messages = value;
                NotifyPropertyChanged(m => m.Messages);
            }
        }


The collection is updated (in the ViewModel) like this:


            Task.Run(async () =>
            {
                for (int i = 0; ; i++)
                {
                    await Task.Delay(1000);
                    Messages.Add(new Message { Text = $"{i} - sftrvwj,erhvtwejhrfvtjlwehftrwejh" });
                }
            });


 

The grid is defined like this:


    <telerik:RadGridView
        x:Name="gridView"
        ItemsSource="{Binding Messages, Mode=OneWay}"
        IsSynchronizedWithCurrentItem="False"
        IsPropertyChangedAggregationEnabled="True"
        AutoGenerateColumns="False" 
        SelectionMode="Single"
        CanUserFreezeColumns="False"
        EnableColumnVirtualization="True"
        EnableRowVirtualization="True"
        CanUserDeleteRows="False"
        CanUserInsertRows="False"
        behaviours:ScrollToNewItemBehavior.IsEnabled="True"
        CanUserGroupColumns="False"
        IsReadOnly="True"
        IsManipulationEnabled="False"
        CanUserReorderColumns="False"
        CanUserSearch="False"
        ShowGroupPanel="False">
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn
                DataMemberBinding="{Binding Text}"
                Header="Text"
                ShowDistinctFilters="False"
                IsSortable="False"/>
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>


Nothing too fancy.

 

What we observe:


 

When a message is added, the view and the scroll indicator randomly jump to the top or the bottom of the grid and stay there until the next message is added.

We tried AddRange, Suspend-/ResumeNotifications, ObservableCollection instead of RadObservableCollection.

We disabled many grid features.

We tried .NetCore

,

we tried .net Framework

To no avail.

This seems to be a bug.

 

Do you know any workarounds or a completely different approach to achieve the desired behaviour?

 

 

Side note:

When we set GroupRenderingMode to Flat,

        GroupRenderMode="Flat"

the view stays at the bottom. The scroll indicator stays at the bottom as well, but once in a while jumps a little bit up, as if by one row, and down to the bottom again without the view changing.

At one time disabling filtering on all columns seemd to work... but later didn't.

 

 

Thanks in advance

Thorsten

1 2 3