Issue in drag and drop after expanding rows

4 posts, 0 answers
  1. Abins
    Abins avatar
    8 posts
    Member since:
    Dec 2018

    Posted 26 Feb 2019 Link to this post

    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.

  2. Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 26 Feb 2019 Link to this post

    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.
  3. Abins
    Abins avatar
    8 posts
    Member since:
    Dec 2018

    Posted 27 Feb 2019 in reply to Dimitar Link to this post

    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

  4. Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 28 Feb 2019 Link to this post

    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.
Back to Top