jQWidgets Forums

jQuery UI Widgets Forums Grid Lose drag and drop binding on scroll

This topic contains 3 replies, has 3 voices, and was last updated by  Peter Stoev 12 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Lose drag and drop binding on scroll #8765

    abigail
    Member

    Hi, I have implemented drag and drop on a column in my grid.  I’ve got the binding occuring in document.ready, based on the column’s class, very similar to your example.  However, when the grid is scrolled, or when I show/hide the nested grids, I lose the drag and drop binding.  Is there a way to persist it across these actions?  Thanks, Abigail

    Lose drag and drop binding on scroll #8781

    Peter Stoev
    Keymaster

    Hi abihail,

    Could you post or send us a sample which demonstrates the behavior? You can send it to support@jqwidgets.com. We would like to test it locally.

    Best Wishes,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Lose drag and drop binding on scroll #9092

    kavehmajidi
    Member

    Hi Peter,

    I have the same problem. I used the “drag to form” example on demo page. Just add “pagable” and “pagesize” properties to the grid. after loading the new grid on the page, change the number of rows from drop down on paging panel and you lose the drag. I have tested the grid with my data and the same thing happens on scrolling.

    Lose drag and drop binding on scroll #9096

    Peter Stoev
    Keymaster

    Hi kavehmajidi,

    As you can see from the drag & drop sample, the jqxDragDrop plugin is initialized by selecting the Grid cells by class. If the cells are changed when the Grid is rendered again, the Drag and drop will not work because you will need to init the jqxDragDrop again.

    Best Wishes,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.