Unplanned
Last Updated: 29 Jun 2021 14:51 by ADMIN
x
Created on: 11 Jun 2021 10:26
Category: UI for Xamarin
Type: Feature Request
1
When the DataGrid a few rows of data and scrolls to page 3 or above, the edit mode will be cancelled quickly and cannot be edited.

When the DataGrid a few rows of data and scrolls to page 3 or above, the edit mode will be cancelled quickly and cannot be edited.

 

 

 

6 comments
ADMIN
Yana
Posted on: 29 Jun 2021 14:51

Hello,

I confirm this is an issue in RadDataGrid related to cell edit feature, so I've updated the status of this item to "Unplanned". 

Please follow the item to get email notification as soon as there's any progress on it.

I've updated your points for bringing the issue to our attention. I'm sorry for the caused inconvenience.

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

x
Posted on: 23 Jun 2021 03:59

hello,

 

Thank you for your reply.

 

You can try editing a third page or a line later, editing the larger number of lines, and then editing the previous line, which makes it easy to reproduce the problem.

ADMIN
Yana
Posted on: 22 Jun 2021 11:39

Hello,

Thank you for sharing the code.

I managed to reproduce the described erroneous behavior on Android rather occasionally. Do you have any specific steps which leads to resetting the editing? 

I will also continue researching the scenario and the reasons behind the issue.

Regards,
Yana
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

x
Posted on: 15 Jun 2021 11:43

Code.User:

public class User
    {
        public int IsClick { get; set; }
        public string Name { get; set; }
        public DateTime time { get; set; }
    }
x
Posted on: 15 Jun 2021 11:42

MainPage.xaml:

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             xmlns:local="clr-namespace:TelerikXamarinApp5.Portable"
             xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
             xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
             xmlns:telerikChart="clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart"
             xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
             xmlns:telerikGauges="clr-namespace:Telerik.XamarinForms.DataVisualization.Gauges;assembly=Telerik.XamarinForms.DataVisualization"
             xmlns:telerikGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid"
             xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
             xmlns:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
             xmlns:telerikImageEditor="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
             xmlns:telerikMap="clr-namespace:Telerik.XamarinForms.Map;assembly=Telerik.XamarinForms.Map"
             xmlns:telerikPdfViewer="clr-namespace:Telerik.XamarinForms.PdfViewer;assembly=Telerik.XamarinForms.PdfViewer"
             xmlns:telerikRichTextEditor="clr-namespace:Telerik.XamarinForms.RichTextEditor;assembly=Telerik.XamarinForms.RichTextEditor"
             x:Class="TelerikXamarinApp5.Portable.MainPage">
    <telerikPrimitives:RadTabView x:Name="tabView">
        <telerikPrimitives:RadTabView.Items>
            <telerikPrimitives:TabViewItem HeaderText="Home">
                <telerikPrimitives:TabViewItem.Content>
                    <Label Text="Content of the Home tab" />
                </telerikPrimitives:TabViewItem.Content>
            </telerikPrimitives:TabViewItem>
            <telerikPrimitives:TabViewItem HeaderText="View">
                <telerikPrimitives:TabViewItem.Content>
                    <telerikGrid:RadDataGrid x:Name="dataGrid" ItemsSource="{Binding Source}" AutoGenerateColumns="False" UserEditMode="Cell" >
                        <telerikGrid:RadDataGrid.GroupHeaderTemplate>
                            <DataTemplate>
                                <Label Text="{Binding Group.Key}"/>
                            </DataTemplate>
                        </telerikGrid:RadDataGrid.GroupHeaderTemplate>
                        <telerikGrid:RadDataGrid.Columns>
                            <telerikGrid:DataGridTemplateColumn CanUserSort="False" CanUserEdit="False">
                                <telerikGrid:DataGridTemplateColumn.HeaderContentTemplate>
                                    <DataTemplate>
                                        <Label Text="选择" Margin="8,8,8,8"
                                               VerticalOptions="Center"
                                               LineBreakMode="WordWrap"></Label>
                                    </DataTemplate>
                                </telerikGrid:DataGridTemplateColumn.HeaderContentTemplate>
                                <telerikGrid:DataGridTemplateColumn.CellContentTemplate>
                                    <DataTemplate>
                                        <CheckBox IsChecked="{Binding IsClick}"  InputTransparent="False"/>
                                    </DataTemplate>
                                </telerikGrid:DataGridTemplateColumn.CellContentTemplate>
                            </telerikGrid:DataGridTemplateColumn>
                            <telerikGrid:DataGridTextColumn PropertyName="Name" CanUserEdit="True">
                                <telerikGrid:DataGridColumn.HeaderContentTemplate>
                                    <DataTemplate>
                                        <Label Text="姓名" Margin="8,8,8,8"
                                               VerticalOptions="Center"
                                               LineBreakMode="WordWrap"></Label>
                                    </DataTemplate>
                                </telerikGrid:DataGridColumn.HeaderContentTemplate>
                            </telerikGrid:DataGridTextColumn>
                            <telerikGrid:DataGridDateColumn PropertyName="time" CellContentFormat="{}{0:yyyy-MM-dd}" CanUserEdit="True">
                                <telerikGrid:DataGridColumn.HeaderContentTemplate>
                                    <DataTemplate>
                                        <Label Text="出生日期" Margin="8,8,8,8"
                                               VerticalOptions="Center"
                                               LineBreakMode="WordWrap"></Label>
                                    </DataTemplate>
                                </telerikGrid:DataGridColumn.HeaderContentTemplate>
                            </telerikGrid:DataGridDateColumn>
                        </telerikGrid:RadDataGrid.Columns>
                    </telerikGrid:RadDataGrid>
                </telerikPrimitives:TabViewItem.Content>
            </telerikPrimitives:TabViewItem>
        </telerikPrimitives:RadTabView.Items>
    </telerikPrimitives:RadTabView>

</ContentPage>

 

MainPage.xaml.cs

public MainPage()
        {
            InitializeComponent();
            var data = new List<Code.User>();
            for (int i = 0; i < 150; i++)
            {
                data.Add(new Code.User { IsClick = i % 2, Name = "123/" + i, time = DateTime.Now });
            }
            this.dataGrid.ItemsSource = data;
        }
ADMIN
Yana
Posted on: 14 Jun 2021 14:25

Hello,

Thank you for sending the video.

I see there is a problem with editing the cells, still, I would need a little bit more information on the exact scenario, so I can try to reproduce it on my side. Would it be possible to send me the DataGrid definition as well as the xaml page it is placed into?

I look forward to your reply.

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.