System shows Not Responding when I try to drag and drop each column header.

2 Answers 171 Views
DragAndDrop GridView
Palanibabu
Top achievements
Rank 1
Palanibabu asked on 22 Jul 2021, 07:32 AM | edited on 28 Jul 2021, 09:40 AM

Hi Telerik Team,

I am facing two issues in RadgridView,

1. I am getting  "Not Responding" message when I drag and drop the column header to do grouping . this issue is occurring when we have more than 15,000 records in RadgridView.

2. After grouping when I click any grouped row , the row visibility is getting collapsed.

Please kindly help me on this issues.

 

 

2 Answers, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 23 Jul 2021, 12:24 PM

Hello Palanibabu,

Thank you for reaching out to us.

I have tried to reproduce the mentioned issues, but the grouping works fine on our end. Could you try and set the GroupRenderMode to Flat? It might help in solving your issue.

Also I am attaching an example project for displaying the grouping of the columns. Could you try it out and give me a feedback if it helps?

Regards,
Stenly
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.

Palanibabu
Top achievements
Rank 1
commented on 28 Jul 2021, 09:11 AM | edited

Hi Stenly,

Thank you for the response.

I have already specified GroupRenderMode to Flat still I am facing the issue. the issue is mainly on while drag and drop more than three column header not responding is coming and after grouping when we click the row , the row visibility is getting collapsed.

I have attached the screenshot for your reference.
Stenly
Telerik team
commented on 29 Jul 2021, 02:19 PM

Could you provide a sample project targeting the issue? As I still can't reproduce the "Not Responding" and the collapsed rows issues that you are facing.

Palanibabu
Top achievements
Rank 1
commented on 04 Aug 2021, 05:25 AM

Hi Stenly,

I have attached the sample project for your reference and you can see that the application is getting freezed when we drag and drop more than two column header.

For Row Collapsed Issue , I  cannot able to simulate the issue in sample project but you can refer this  grouprendermode-issue ,

the same issue I am facing from my side but I dint given the MaxHeight for RadGridView.

 

 

0
Stenly
Telerik team
answered on 04 Aug 2021, 12:29 PM

Hello Palanibabu,

After investigating the provided sample project, I have reproduced the mentioned issue.

What I found is that after removing the DragEnter event from the MainWindow.xaml and MainWindow.xaml.cs files, the application no longer freezes.The application's performance decrease happens, because the UnselectAll and SelectAll methods logic is relatively slow. To improve the performance you can avoid calling them.

In addition, you could refer to the following article regarding the performance of the DataGridView control:

WPF DataGrid | Tips and Tricks | Telerik UI for WPF

Regarding the missing visibility of the rows, I could not reproduce it on my end. 

Finally, I am attaching the project that I used for testing.

Regards,
Stenly
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/.

Palanibabu
Top achievements
Rank 1
commented on 06 Aug 2021, 05:19 AM

Hi Stenly,

I have tried after removing DragEnter and UnselectAll methods but still I am facing the same Issue and we are using cell template will it be the reason??. Could you please help me on this.

 

Martin Ivanov
Telerik team
commented on 10 Aug 2021, 03:51 PM

Can you also try setting the IsPropertyChangedAggregationEnabled property to False and see if this helps. Anyway, I've tested the Stenly's project and I cannot get the "Not Responding". Instead, the gridview is hanging for couple of seconds in case the root group contains many items. This happens because processing such big amount of groups (~10k) takes some time.
Tags
DragAndDrop GridView
Asked by
Palanibabu
Top achievements
Rank 1
Answers by
Stenly
Telerik team
Share this question
or