jQWidgets Forums

jQuery UI Widgets Forums Grid Save values in Drag och drop grid

This topic contains 3 replies, has 2 voices, and was last updated by  Lee 11 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Save values in Drag och drop grid #48197

    Lee
    Participant

    Hi!

    How to save the values in ‘drop grid’?

    Regards
    Lee

    Save values in Drag och drop grid #48209

    Lee
    Participant

    Hi
    I explain my question lite more:
    How to save the values that man drag and drop into another grid?

    regards
    Lee

    Save values in Drag och drop grid #48215

    Peter Stoev
    Keymaster

    Hi Lee,

    On drop, the “setcellvalue” method is being called which means that the “updaterow” callback function of the source object will be called, too. Inside the “updaterow” callback function, you will receive 3 parameters – row’s ID, row’s Data and commit callback function. There, you can make an Ajax call to your server, passing the new row’s Data to it. On Ajax success, call commit(true); to confirm the changes.

    Hope this helps.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Save values in Drag och drop grid #48321

    Lee
    Participant

    Hello,

    Thanks for your tips. “drop-grid” in your demo is in unbound mode. Is it possible to bind “drop-grid” to data to show what man dragged into the drop-grid?

    Regards
    Lee

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

You must be logged in to reply to this topic.