Unplanned
Last Updated: 09 Dec 2022 15:44 by Teddy


.Net Maui Data Grid Property Aggregator Descriptor disappears when displaying columns in the same data grid which doesn't have aggregate property set

Completed
Last Updated: 15 Mar 2023 11:29 by ADMIN
Release 5.1.0

.Net Maui Data Grid Property Aggregator Descriptor incorrect placement on Mac

Completed
Last Updated: 18 Jan 2023 12:30 by ADMIN
Release 5.0.0
BorderColor style of the selected row does not apply on MacCatalyst and iOS.
Completed
Last Updated: 15 Mar 2023 11:38 by ADMIN
Release 5.1.0
The following code uses RadHighlightedLabel and manipulates the highlighted text by the Text of an Entry.

<telerik:RadDataGrid x:Name="dataGrid" AutomationId="dataGrid" AutoGenerateColumns="False">
                <telerik:RadDataGrid.Columns>
                    <telerik:DataGridTextColumn PropertyName="Country" HeaderText="HighlightedLabel">
                        <telerik:DataGridTextColumn.CellContentTemplate>
                            <DataTemplate>
                                <telerik:RadHighlightLabel UnformattedText="{Binding Country}"
                                                                           HighlightText="{Binding Source={x:Reference searchEntry}, Path=Text}"
                                                                           HighlightTextColor="Red"/>
                            </DataTemplate>
                        </telerik:DataGridTextColumn.CellContentTemplate>
                    </telerik:DataGridTextColumn>
                </telerik:RadDataGrid.Columns>
            </telerik:RadDataGrid>

Expected: When typing in the entry the text of the label should get highlighted and remove the highlight when the text of the entry is removed.

Actual: The highlighted text doesn't get updated and stays the same.

 

 

Completed
Last Updated: 15 Mar 2023 11:38 by ADMIN
Release 5.1.0

When the selected item is set initially, the selected style is not applied to the row/cell.

Workaround: You can use a Dispatcher to workaround the issue, code looks as follows:

this.Dispatcher.StartTimer(TimeSpan.FromMilliseconds(200), () =>
        {
            if (dataGrid.SelectedItem == null)
            {
                dataGrid.SelectItem(viewModel.PersonCollection.First());
            }
            return false;
        });

Unplanned
Last Updated: 17 Oct 2022 10:27 by Craig

Footer is displaced when placing the datagrid into an expander. Issue appears only in certain devices and versions. Tested with Android 12, API 33, Pixel 5 Emulator also with Samsung Galaxy S22 Model: SM=S901U1, One UI Version 4.1, Android Version 12 and Samsung Galaxy Tablet -- Galaxy Tab S7 FE.

In addition, issue cannot be reproduced on Android 9 and Android 11.


Completed
Last Updated: 08 Mar 2024 07:12 by ADMIN
Release 5.2.0

Header Text, group header text, do not display some languages characters like Chinese, Thai, etc.

The root reason for this is the fact that the Skia APIs used to draw the text does not support automatic character fallback.

Workaround:

for header text:

<telerik:DataGridTextColumn.HeaderContentTemplate>
    <DataTemplate>
        <Label Text="your text"></Label>
    </DataTemplate>
</telerik:DataGridTextColumn.HeaderContentTemplate>

group header text

<telerik:RadDataGrid.GroupHeaderTemplate>
        <DataTemplate>
            <Label Text="{Binding Group.Key}"/>
        </DataTemplate>
</telerik:RadDataGrid.GroupHeaderTemplate>

column:

<telerik:DataGridTextColumn HeaderText="Name" >
    <telerik:DataGridTextColumn.CellContentTemplate>
        <DataTemplate>
            <Label Text="{Binding Name}"/>
        </DataTemplate>
    </telerik:DataGridTextColumn.CellContentTemplate>
</telerik:DataGridTextColumn>

Completed
Last Updated: 14 Sep 2022 10:08 by ADMIN
Release 3.0.0

I am using NavigationPages and Dependency Injection (for the Pages and ViewModels) to navigate (not AppShell).

    <Grid RowDefinitions="*,100">

        <telerik:RadDataGrid x:Name="grdRegisters"
                             RowHeight="50"
                             Style="{StaticResource ReadOnlyGridStyle}"
                             ItemsSource="{Binding Registers}"
                             SelectionStyle="{StaticResource SelectedRowBackgroundStyle}"
                             RowBackgroundStyle="{StaticResource RowBackgroundStyle}"
                             AlternateRowBackgroundStyle="{StaticResource AltRowBackgroundStyle}"
                             SelectedItem="{Binding SelectedRegister, Mode=TwoWay}">
            <telerik:RadDataGrid.Columns>
                <telerik:DataGridTemplateColumn HeaderText=""
                                                SizeMode="Fixed"
                                                Width="50">
                    <telerik:DataGridTemplateColumn.CellContentTemplate>
                        <DataTemplate x:DataType="RegisterModel">
                            <Label FontFamily="FASolid" 
                                   HorizontalOptions="Center"
                                   VerticalOptions="Center"
                                   Text="&#xf005;" 
                                   IsVisible="{Binding IsCurrentRegister, Mode=OneTime}"/>
                        </DataTemplate>
                    </telerik:DataGridTemplateColumn.CellContentTemplate>
                </telerik:DataGridTemplateColumn>

                <telerik:DataGridTemplateColumn HeaderText="Shift Date">
                    <telerik:DataGridTemplateColumn.CellContentTemplate>
                        <DataTemplate x:DataType="RegisterModel">
                            <Label Style="{StaticResource GridCellLabelStyle}" 
                                   Text="{Binding Date, Converter={StaticResource ToLocalTimeConverter}, StringFormat='{}{0:d}'}"/>
                        </DataTemplate>
                    </telerik:DataGridTemplateColumn.CellContentTemplate>
                </telerik:DataGridTemplateColumn>

                <telerik:DataGridTemplateColumn HeaderText="Shift Name">
                    <telerik:DataGridTemplateColumn.CellContentTemplate>
                        <DataTemplate x:DataType="RegisterModel">
                            <Label Style="{StaticResource GridCellLabelStyle}" 
                                   Text="{Binding Shift.Name}"/>
                        </DataTemplate>
                    </telerik:DataGridTemplateColumn.CellContentTemplate>
                </telerik:DataGridTemplateColumn>

                <telerik:DataGridTemplateColumn HeaderText="Start Time">
                    <telerik:DataGridTemplateColumn.CellContentTemplate>
                        <DataTemplate x:DataType="RegisterModel">
                            <Label Style="{StaticResource GridCellLabelStyle}" 
                                   Text="{Binding StartTime, Converter={StaticResource ToLocalTimeConverter}, StringFormat='{}{0:t}'}"/>
                        </DataTemplate>
                    </telerik:DataGridTemplateColumn.CellContentTemplate>
                </telerik:DataGridTemplateColumn>

                <telerik:DataGridTemplateColumn HeaderText="End Time">
                    <telerik:DataGridTemplateColumn.CellContentTemplate>
                        <DataTemplate x:DataType="RegisterModel">
                            <Label Style="{StaticResource GridCellLabelStyle}" 
                                   Text="{Binding EndTime, Converter={StaticResource ToLocalTimeConverter}, StringFormat='{}{0:t}'}"/>
                        </DataTemplate>
                    </telerik:DataGridTemplateColumn.CellContentTemplate>
                </telerik:DataGridTemplateColumn>


            </telerik:RadDataGrid.Columns>
        </telerik:RadDataGrid>

        <HorizontalStackLayout Grid.Row="1">
            <Button Text="Resume"
                    IsEnabled="{Binding SelectedRegister, Converter={StaticResource IsNotNullConverter}}"
                    Command="{Binding ResumeShiftCommand}"/>

            <Button Text="Refresh"
                    Command="{Binding RefreshCommand}"/>

        </HorizontalStackLayout>
        
    </Grid>

On initial Refresh, all items are visible in the DataGrid

I navigate forward and then back (PopToRoot), the DataGrid appears empty, although the vertical scroll appears like there are items.

If I tap Refresh, items become visible, but only above the first fold.

If i resize the window vertically, items will appear and disappear depending on the height of the window. (see attached video)

Completed
Last Updated: 18 Jan 2023 12:55 by ADMIN
Release 5.0.0

Run SDKBrowserMaui example on WinUI
Navigate to DataGrid->LoadOnDemandCategory->LoadOnDemandExmaple

Start scrolling the grid using the scrollbar

Crash occurs on WinUI.

Completed
Last Updated: 13 Jul 2022 10:36 by ADMIN
Release Release 2.1.0
When user resizes window with DataGrid inside - somehow grid content goes behind the header (see video)
Completed
Last Updated: 04 Aug 2022 15:42 by ADMIN
Release 2.3.0

scrolling is not smooth (items jump up/down when scrolling)

Tested on Samsung S9+ and S10

Declined
Last Updated: 19 Jun 2023 12:40 by ADMIN
Created by: Daniel
Comments: 5
Category: DataGrid
Type: Bug Report
3

Hi Team,

I have attached a reproducible. Open DashboardView.xaml, there you'll find the DataGrid.

Run the project on Windows and take the following steps:

  • Step 1. Run the app and click Button 1 to load an instance of this ContentView
    • Observe => The DataGrid renders as expected
  • Step 2. Click Button 1 again to reset and load a new instance of this ContentView
    • Observe => The DataGrid will NOT render (you can repeat this step multiple times)
  • Step 3. Resize the app window
    • Observe the DataGrid will be rendered again

The only way I could get it to render again was by resizing the app window, even calling InvalidateMeasure(SizeChanged) didn't work.

 

The logic is simple, the button click just clears MainPage.xaml's container children and adds a new instance of DashboardView:

private void OnButton1Clicked(object sender, EventArgs e)
{
    currentContentViewHolder.Children.Clear();
    currentContentViewHolder.Children.Add(new DashboardView());
}
Completed
Last Updated: 07 Jun 2023 07:41 by ADMIN
Release 5.2.0

Having this setup:

<telerikDataGrid:DataGridTemplateColumn HeaderText="Age" 
                                        CanUserSort="True">
    <telerikDataGrid:DataGridTemplateColumn.CellContentTemplate>
        <DataTemplate>
            <Label Text="{Binding Age}" />
        </DataTemplate>
    </telerikDataGrid:DataGridTemplateColumn.CellContentTemplate>
    <telerikDataGrid:DataGridTemplateColumn.SortDescriptor>
        <telerikCommon:PropertySortDescriptor PropertyName="Age" SortOrder="Descending" />
    </telerikDataGrid:DataGridTemplateColumn.SortDescriptor>
</telerikDataGrid:DataGridTemplateColumn>

 

When applying SortDescriptor to the Template column, the column is not initially sorted. 

1 2 3 4