jQWidgets Forums

jQuery UI Widgets Forums General Discussions jqxgrid : drag drop within grid

Tagged: , ,

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • jqxgrid : drag drop within grid #91120

    hurricane
    Participant

    Hi,

    I wanted to drag-drop a row within grid. With the help of multiple rows drag-drop demo, I am able to do so. But here, I also wanted to delete my source row once my drop event is completed. Is there any feature present to do so ?

    Thanks in advance!

    Regards

    jqxgrid : drag drop within grid #91132

    Peter Stoev
    Keymaster

    Hi hurricane,

    You can use the Grid’s deleterow method to delete a row. I would suggest you to do that after you perform a Drop.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxgrid : drag drop within grid #91143

    hurricane
    Participant

    Thanks Peter for your guidance.

    I tried using deleterow but It is not working as expected since once I drop some row to different place then rowIds are getting changed. This is resulting into wrongly deletion of the rows. I am still not able to figure out the way to get out of this problem.

    To delete rows, I have used rowindex.

    Can you please provide more inputs?

    jqxgrid : drag drop within grid #91144

    Peter Stoev
    Keymaster

    Hi hurricane,

    As pointed out in the Grid API Documentation, deleterow expects rowid.

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