Unplanned
Last Updated: 16 Oct 2023 12:05 by Nate
When you have a DataGrid with a lot of items, if you scroll down the list then leave that page and come back, the list does not appear until you scroll down.  As soon as you scroll down the list repaints and the items show as expected.
Unplanned
Last Updated: 15 Aug 2023 06:32 by ADMIN

Giving a RadDataGrid where columns are mostly empty, scroll to the right and mutate the data. All the rows without data visible disappear until the user scrolls back to columns that have data.

Link to video: https://youtube.com/shorts/_Zdm2FIowP8?feature=share

Sample project attached.

Unplanned
Last Updated: 11 Jul 2023 13:12 by Christopher
When RadDataGrid is populated with a DataTable and the columns are reordered, the items (DataRowViews) in the underlying DataView have their items arrays in the original order, not synced with the UI updates in the DataGrid.
Unplanned
Last Updated: 20 Apr 2023 10:27 by ADMIN
LoadOnDemandContext.HideLoadOnDemandLoadingIndicator() needs to be in an async method, otherwise it will keep the indicator visible forever
Unplanned
Last Updated: 11 Oct 2022 06:37 by Mike
Our MainPage has a button which opens the page with the DataGrid. When you scroll to the bottom of the DataGrid page and hit the back button to the MainPage and then try to go back to the page with the DataGrid, the app crashes with null reference exception.
Unplanned
Last Updated: 16 Mar 2022 12:51 by Amit
If you use a TrueType font for the DataGrid column's Style properties (CellContentStyle, HeaderStyle), it is not respected and falls back to a default platform font.
Unplanned
Last Updated: 17 Jan 2022 14:14 by ADMIN
When the selected item is set initially, the selected style is not applied to the row/cell
Unplanned
Last Updated: 03 Nov 2021 15:26 by ADMIN
When the filter descriptor is used once to filter a column with a lot of items and then you reset the descriptor this results in freezing the datagrid.
Unplanned
Last Updated: 04 Oct 2021 12:11 by ADMIN
After changing the ItemsSource dynamically in code, the scrollbars disappear and the last column becomes invisible until the user taps an item in the DataGrid on Android 7.1. 
Unplanned
Last Updated: 18 Oct 2021 09:22 by ADMIN

Programmatically changing column width does not reflect on the UI when the width value is lower than the current width value. 

No issues when increasing the value, the UI is updated

Unplanned
Last Updated: 18 Aug 2021 11:37 by ADMIN
1. Create a data grid with 2 picker columns

2. Bind each picker column to a different ItemsSource

3. Add some empty rows to the Datagrid 

4. Start the app

5. Select a picker value from the first column

6. Open a second picker from the other column

 First picker's selection disappears


Unplanned
Last Updated: 11 May 2021 09:33 by ADMIN
After opening the Filtering UI for a certain column and selecting "More" button in order to choose visible columns, returning to the first Filtering UI view leads to the "And" label broken into two lines.
Unplanned
Last Updated: 10 Feb 2021 13:14 by ADMIN
When there is no data in any of the cells of a row, the cells are not rendered at all,  and this prevents the user from being able to edit any data.
Unplanned
Last Updated: 06 Jan 2021 14:53 by ADMIN
In case RadDataGrid is populated with large amount of items (~5000 items with 10 columns), scrolling horizontally to the right most side and reloading the data ( updating the ItemsSource) results in a non-responsive app.
Unplanned
Last Updated: 07 Jan 2022 12:46 by ADMIN
When you edit a value of a certain item and you tap outside of the DataGrid, so it loses the focus, the edited value is not committed and the DataGrid stays in invalid edit state.
Unplanned
Last Updated: 07 Dec 2020 10:30 by ADMIN
 In Tab1 I have a DataGrid and in Tab2  I have also a DataGrid with data.

When you click on the change data button the data will change in Tab1 and Tab2. But when for example Tab2 is visible then the data in Tab1 is not updated when you go to that tab. When you resize the app then the data becomes visible.
Unplanned
Last Updated: 04 Sep 2020 17:00 by Brad
Created by: Brad
Comments: 2
Category: DataGrid
Type: Bug Report
0

If you use a TrueType font for the DataGrid column's OptionsButtonFontFamily, it is not respected and falls back to a default OS font.

Workaround

The only workaround at this time is to create a custom column HeaderTemplate with a custom options button and hide the default options button.

<dataGrid:RadDataGrid x:Name="dataGrid" ...>
    <dataGrid:RadDataGrid.Columns>
        <dataGrid:DataGridTextColumn x:Name="productNameColumn" PropertyName="ProductName">
            <dataGrid:DataGridTextColumn.HeaderContentTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>

                        <Label Text="Name" TextColor="Black"/>

                        <Label FontFamily="MyCustomFont.ttf#MyCustomFont"
                                    Text="&#xE717;"
                                    TextColor="Orange" HorizontalOptions="End" HorizontalTextAlignment="End" Grid.Column="1">
                            <Label.GestureRecognizers>
                                <TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped"/>
                            </Label.GestureRecognizers>
                        </Label>
                    </Grid>
                </DataTemplate>
            </dataGrid:DataGridTextColumn.HeaderContentTemplate>
            <dataGrid:DataGridTextColumn.HeaderStyle>
                <dataGrid:DataGridColumnHeaderStyle OptionsButtonFontSize="0" FilterIndicatorFontSize="0"/>
            </dataGrid:DataGridTextColumn.HeaderStyle>
        </dataGrid:DataGridTextColumn>
    </dataGrid:RadDataGrid.Columns>
</dataGrid:RadDataGrid>

In the code-behind, we use reflection to access the column's command context and invoke the options menu via DataGrid command service.

public partial class YourPage : ContentPage
{
    private readonly MethodInfo generateOptionsTapContextMethodInfo;

    public YourPage()
    {
        InitializeComponent();

        this.generateOptionsTapContextMethodInfo = this.dataGrid.GetType().GetMethod(
            "GenerateFilteringCommandContext", 
            BindingFlags.NonPublic | BindingFlags.Instance);
    }

    private void TapGestureRecognizer_Tapped(object sender, EventArgs e)
    {
        if (this.generateOptionsTapContextMethodInfo != null)
        {
            // Get a reference to the column, this is needed to invoke a command
            var context = this.generateOptionsTapContextMethodInfo.Invoke(
                this.dataGrid, 
                new object[] { this.productNameColumn });

            // Invoke the command service that opens the options button
            this.dataGrid.CommandService.ExecuteDefaultCommand(
                Telerik.XamarinForms.DataGrid.Commands.DataGridCommandId.OptionsTap, 
                context);
        }
    }
}

 

Unplanned
Last Updated: 27 Aug 2020 11:10 by Mahmoud
For example: When I enable DataGrid LoadOnDemand it's loading infinitely for a static list of 3 records.
Unplanned
Last Updated: 27 Aug 2020 11:12 by Mahmoud
The horizontal scrollviewer is not visualized initially when the column header text is longer than the columns' text. Still, tapping on any item makes it possible to scroll.
Unplanned
Last Updated: 08 May 2020 10:08 by ADMIN
changing the item source of the data grid based on the picker option, but the app crashes at that time when changing data grid cell values
1 2