Telerik Forums
UI for .NET MAUI Forum
0 answers
329 views

What should I do

 

 

 

 

 

 

 

盼宇
Top achievements
Rank 1
Iron
 asked on 30 Jun 2022
1 answer
212 views

Hi, today found i cannot use theming (Light and Dark) for DataGrid, because DataGridBorderStyle class not support binding for the BackgroundColor, BorderColor and TextColor

Deyan
Telerik team
 answered on 28 Jun 2022
1 answer
211 views

The RadCheckBox CheckedSymbolColor doesn't reflect the value I've chosen (testing WinUI at the moment).

Any advice?

Didi
Telerik team
 updated answer on 27 Jun 2022
0 answers
654 views

Hi, today found bug in DataGrid on Mac OS. I'm using Macbook Air M1. When user resizes window with DataGrid inside - somehow grid content goes behind the header (see video)

There is nothing specific or customize, just did very simple grid.


<telerik:RadDataGrid x:Name="dataGrid" ItemsSource="{Binding ViewModel.Files}" Margin="50,100,30,30" 
                             AutoGenerateColumns="False" RowHeight="45">
            <telerik:RadDataGrid.Columns>
                <telerik:DataGridTemplateColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Name" Width="250"
                                                CellContentTemplate="{StaticResource NameColumnCellTemplate}" 
                                                CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
                <telerik:DataGridDateColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Modified Date" Width="180"
                                            CellContentFormat="{}{0: dd/MM/yyyy H:mm tt}" PropertyName="LastModified" 
                                            CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
                <telerik:DataGridTextColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Tag(s)" Width="170"
                                            PropertyName="Tags" 
                                            CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
                <telerik:DataGridNumericalColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Size" Width="130"
                                                 CellContentFormat="{}{0:D}" PropertyName="Size"
                                                 CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
            </telerik:RadDataGrid.Columns>
        </telerik:RadDataGrid>

Arkady
Top achievements
Rank 1
Iron
Iron
 asked on 24 Jun 2022
1 answer
404 views

I am trying to use Maui Combo box control one my screen but faced some strange issue.

After some interactions either by clicking the combo or by typing keyword the cursor started blinking so fast and due to this whole screen got stuck. I had to restart the application.

Please see the attached video for your reference.

Any help would be appreciated.

Antoan
Telerik team
 answered on 23 Jun 2022
1 answer
376 views

[Please ignore this same question in my other post about the hover style in the grid; putting it here to focus on this one subject]

How do I change the ListPicker to not show the dropdown button on the right side of the control? This is another change from Xamarin Forms to Maui and I don't see how to affect this.

Example from Xamarin Forms:

Same code in Maui:

Antoan
Telerik team
 answered on 22 Jun 2022
1 answer
741 views

I use various styles for the grid. However, for WinUI, when I move my mouse from row to row (not clicking to select a row, just mousing over), the styles I have cause every other row to be a black bar (I use Alternate row styling). How do I change the text color for these 'hovered' rows?

Also, I just noticed that row selection isn't working in the iOS simulator. I'll investigate of course, but are there any known issues I should be aware of in the iOS grid?

Antoan
Telerik team
 answered on 21 Jun 2022
1 answer
471 views

Simple project with a DataGrid on the MainPage.

After updating VS 2022 to 17.3 Preview 2.0, an error occurs when trying to debug the project.

If running the Windows platform, I get an error which prevents the project from running (see image). PRI175 "Duplicate Entry"

If running the Android platform, the project runs, but there's an error (FileNotFoundException: Telerik.Maui.Core.resources) during start up and the DataGrid does not render.

If I comment out the DataGrid in the XAML, the project loads without error.

I am using the latest Telerik for Maui (1.0.1)

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 17 Jun 2022
1 answer
2.6K+ views

Does it have the feature to scroll up and down the rows and across the columns?

Cant seem to find an option to turn that on.

.NET MAUI radDataGrid!

Thanks

Deasun

Lance | Senior Manager Technical Support
Telerik team
 answered on 09 Jun 2022
2 answers
662 views

The code below worked fine in Xamarin Forms. However, it is not working in Maui. How do I fix this?

my-page.xaml

...
                    <telerik:DataGridNumericalColumn
                        CellContentStyle="{StaticResource CustomDataGridTextCellStyle}"
                        HeaderStyle="{StaticResource CustomDataGridColumnHeaderStyle}"
                        HeaderText="{x:Static resx:AppResources.Duration}"
                        PropertyName="Duration"
                        SizeMode="Stretch" />
...

App.xaml

    <Style x:Key="CustomDataGridTextCellStyle" TargetType="telerik:DataGridTextCellStyle">
        <Setter Property="HorizontalTextAlignment" Value="Start" />
        <Setter Property="SelectedTextColor" Value="{StaticResource PageBackgroundColor}" />
        <Setter Property="TextColor" Value="{StaticResource NormalTextColor}" />
        <Setter Property="VerticalTextAlignment" Value="Center" />
        <Setter Property="FontSize">
            <Setter.Value>
                <x:OnIdiom>
                    <x:OnIdiom.Phone>
                        <OnPlatform x:TypeArguments="x:Double">
                            <On Platform="Android">14</On>
                            <On Platform="iOS">12</On>
                        </OnPlatform>
                    </x:OnIdiom.Phone>
                    <x:OnIdiom.Tablet>20</x:OnIdiom.Tablet>
                    <x:OnIdiom.Desktop>20</x:OnIdiom.Desktop>
                </x:OnIdiom>
            </Setter.Value>
        </Setter>
        <Setter Property="TextMargin">
            <x:OnIdiom>
                <x:OnIdiom.Phone>
                    <OnPlatform>
                        <On Platform="Android">8</On>
                        <On Platform="iOS">6</On>
                    </OnPlatform>
                </x:OnIdiom.Phone>
                <x:OnIdiom.Tablet>12</x:OnIdiom.Tablet>
                <x:OnIdiom.Desktop>12</x:OnIdiom.Desktop>
            </x:OnIdiom>
        </Setter>
    </Style>

The code compiles fine but I get a run-time error that says:

Can't resolve HorizontalTextAlignmentProperty on DataGridTextCellStyle'

If I delete that line, then the next run says:

Can't resolve TextColorProperty on DataGridTextCellStyle'

And I assume that would continue with every property. Hopefully I'm missing something simple?

(by the way, this happens on other similar styles; I'm including this single example hoping there is a common solution to all these errors)

Deyan
Telerik team
 answered on 07 Jun 2022
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?