Completed
Last Updated: 18 Aug 2023 09:43 by ADMIN
Release 6.1.0
When using CommitEdit command, the DataGridCellInfo Column and Value are null in the Execute method. The BeginEdit command contains the info for the Column and Value.
Completed
Last Updated: 11 Oct 2023 08:02 by ADMIN
Release 6.3.0

If I use the CellEditTemplate to show a custom view when editing - the view does not get auto focus when shown and the end user needs to tap inside so the view gets focus.

  <telerik:DataGridTextColumn PropertyName="CountryName" HeaderText="Country">
    <telerik:DataGridTextColumn.CellEditTemplate>
      <DataTemplate>
        <telerik:RadEntry Text="{Binding Item.CountryName}" />
      </DataTemplate>
    </telerik:DataGridTextColumn.CellEditTemplate>
  </telerik:DataGridTextColumn>

 

Work-around:

Manually invoke the Focus() method and set the cursor position when the view gets loaded and when it changes its visibility:

  <telerik:RadEntry Text="{Binding Item.CountryName}"
      Loaded="RadEntry_Loaded"
      PropertyChanged="RadEntry_PropertyChanged" />


private void RadEntry_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
  if (e.PropertyName == nameof(View.IsVisible))
  {
    RadEntry entry = (RadEntry)sender;
    if (entry.IsVisible)
    {
      FocusEntry(entry);
    }
  }
}

private void RadEntry_Loaded(object sender, EventArgs e)
{
  FocusEntry((RadEntry)sender);
}

private static void FocusEntry(RadEntry entry)
{
  entry.Dispatcher.DispatchDelayed(TimeSpan.FromMilliseconds(1), () =>
  {
    entry.Focus();
    entry.CursorPosition = entry.Text?.Length ?? 0;
  });
}

 

Completed
Last Updated: 18 Aug 2023 09:44 by ADMIN
Release 6.1.0

I want to exit edit mode and commit edit when hitting on Enter Key.

It works great for text column/cell.

But it does not work for numerical cells
   - Numerical cell still in edit mode by displaying a RadNumericInput within the cell.
   - Break point in CellCommitEditCommand.cs has not been hit.
Completed
Last Updated: 18 Aug 2023 09:44 by ADMIN
Release 6.1.0

Hi Team,

If the cell is frozen, the HitTestService.CellInfoFromPoint( ) method always returns null

Thank you,

Jia

Completed
Last Updated: 19 Jul 2023 06:37 by ADMIN
Release 6.0.0

DataGrid is added inside pages that can be accessed through shell flyout menu. 

And the exact steps to reproduce the issue:

Go to page GridOne page in flyout menu.
Enter any element by double tap. this navigates to another page - SubGridPage 
On SubGridPage again double tap any element. this navigates to another page - InnerModel 
When you are in InnerModel page select from flyout menu GridTwo page
On GridTwoPage double tap any element, this navigates to another page - SubGridPage 
On SubGridPage double tap any element. this navigates to another page - InnerModel 
When you land on InnerModel page go back to Grid One on flyout menu.
When you are in the GridOne InnerModel, press the back arrow. 
It navigates to the SubGridPage. but the DataGrid is not visualized. 
Completed
Last Updated: 19 Jul 2023 10:22 by ADMIN
Release 6.0.0
Null reference exception when using the AddSingleton approach in the shell app. 
Completed
Last Updated: 19 Jul 2023 06:37 by ADMIN
Release 6.0.0
I have found that I am able to drag and drop columns across different datagrids, even when they are bound to completely different datasources. The function produces unexpected results- different columns end up getting get moved around on the grids.
Completed
Last Updated: 07 Jun 2023 07:41 by ADMIN
Release 5.2.0

Hi,

I'am testing Telerik .NET MAUI controls for windows and android. FontFamily property of columns (both for xaml and app.xaml) not working. If an embedded font is choosen for whole application, DataGrids look different from other parts of the application

here is my xaml, "fnt_bold" is a MauiFont in resources. All other ui components are shown in my font

                <telerik:RadDataGrid x:Name="dataGrid" AutoGenerateColumns="False" UserEditMode="None" UserGroupMode="Disabled" SelectionMode="Single" SelectionUnit="Row"  >
                    <telerik:RadDataGrid.Columns>
                        <telerik:DataGridTextColumn PropertyName="ID" HeaderText="RefID" Width="60" SizeMode="Fixed">
                            <telerik:DataGridTextColumn.CellContentStyle>
                                <telerik:DataGridTextCellStyle FontFamily="fnt_bold" FontSize="12.25"/>
                            </telerik:DataGridTextColumn.CellContentStyle>
                        </telerik:DataGridTextColumn>
                        <telerik:DataGridTextColumn PropertyName="CODE" HeaderText="Code" Width="80" SizeMode="Fixed">
                            <telerik:DataGridTextColumn.CellContentStyle>
                                <telerik:DataGridTextCellStyle FontFamily="fnt_bold" FontSize="12.25"/>
                            </telerik:DataGridTextColumn.CellContentStyle>
                        </telerik:DataGridTextColumn>
                        <telerik:DataGridTextColumn PropertyName="NAME" HeaderText="Name" Width="250" SizeMode="Fixed">
                            <telerik:DataGridTextColumn.CellContentStyle>
                                 <telerik:DataGridTextCellStyle FontFamily="fnt_regular" FontSize="12.25"/>
                            </telerik:DataGridTextColumn.CellContentStyle>
                        </telerik:DataGridTextColumn>
                    </telerik:RadDataGrid.Columns>
                </telerik:RadDataGrid>

I have attached a screenshot from my test app.

I also checked the sample telerik android app (Telerik UI for .NET MAUI Controls). DataGrid components in Telerik Sample app also dont use the expected font unlike all other ui components.

Just one of the DataGrid samples of one column in the sample app has the correct fontfamily property. I have attached that screenshot also. I couldn't figure out how to implement it.

Am i missing something?

Thanks in advance.

Ender

 

 

 

 

 

 

 

 

 

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

1. filter the column by any distinct value
2. The filter is applied
3. Open the same filtering again and tap reset
4. All rows are visible and everything is ok
5. Open the same filtering again

The Checkbox from step 1 is still checked and checking any other checkbox and applying filtering does not work 

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

I have a DataGrid with ItemsSource bound to ObservableRangeCollection,
First I Clear() the existing items of the collection, then add new items, and raises a single CollectionChanged event with action = NotifyCollectionChangedAction.Reset.

the grid continues to show nothing.

This works with .NET MAUI CollectionView and ListView

Workaround: Add a delay after clearing the collection.

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

Hi Team,

Please refer to the following screenshot from the ControlsSamples project on Windows:

Notice the descender on the y character is pushing up the Delivery column header's Label container, but the Price text is flush with the bottom? This is causing misalignment between text in other column headers that do not have descenders.

You might not immediately notice this, for example in the Aggregates demo, only the first column has no descenders but the next two do. 

 

However, it's a more serious visual problem when every other column is vertically offset. Please consider adding a default Padding to account for descenders, or maybe change the VerticalOptions of the text container to be center aligned.

Thank you,

Matthew & Team

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;
        });

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