This is a migrated thread and some comments may be shown as answers.

Issue in drag and drop after expanding rows

3 Answers 49 Views
VirtualGrid
This is a migrated thread and some comments may be shown as answers.
Abins
Top achievements
Rank 1
Abins asked on 26 Feb 2019, 10:10 AM

Hi,

 

I am developing a application using VirtualGrid which is used to drag and drop files and list the properties of the files. All is working fine. But when i expanded a row and dragged a new file, the whole grid was distorted. Please see the attached image for details.

 

Thanks well in advance.

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 26 Feb 2019, 11:55 AM
Hello Abins,

Could you share your implementation as well? Just the description is not enough for me to determine what can cause such issues. 

Perhaps you can try refreshing the grid when performing drag drop:
this.radVirtualGrid1.TableElement.SynchronizeRows();

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Abins
Top achievements
Rank 1
answered on 27 Feb 2019, 08:31 AM

I can explain you the scenario,

Application have some menus and a gridview. We can drag and drop the file to grid. When a particular file is selected in grid, we can do some process on the selected file. So after process I need to display the result file in a table below the row (Hierarchical data). Two issues we encounter now is,

1) After processing a row, it is adding data to its inner table very well. But state of parent row is collapsed. Is there any way to programmatically expand the processed row?

2)After adding data into inner table, and then we try to drag and drop, all existing row's alignment get corrupt in the grid as show in picture attached in tread.

 

Thanks

0
Dimitar
Telerik team
answered on 28 Feb 2019, 08:43 AM
Hello Abins,

1. Yes, there are methods for this:
this.radVirtualGrid1.VirtualGridElement.ExpandRow(2);
this.radVirtualGrid1.VirtualGridElement.CollapseRow(2);

2. Without a way to reproduce this locally, I cannot say what is causing it. If you cannot share the project in the forum I would suggest opening a support ticket, the posts there are private and you can safely attach your project. 

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
VirtualGrid
Asked by
Abins
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Abins
Top achievements
Rank 1
Share this question
or