jQWidgets Forums

jQuery UI Widgets Forums Grid Multiple rows changes

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  dailyblog 12 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Multiple rows changes #10986

    dailyblog
    Participant

    hi, how to save multiple rows changes to MySQL database instead of saving rows one by one?

    Multiple rows changes #10992

    Peter Stoev
    Keymaster

    Hi dailyblog,

    You can add the data to be sent to the server in your Ajax request.

    Example:

        $.ajax({
    dataType: 'json',
    url: 'data.php',
    data: data,
    success: function (data, status, xhr) {
    // update command is executed.
    }
    });

    Where the “data” parameter is the JSON to be sent to the server. That JSON could contain the values of 1 or more rows.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Multiple rows changes #10999

    dailyblog
    Participant

    thanks for your reply.
    then how :
    1. do i know the state of the rows send to sever?inserted,updated or deleted?
    2.do JQWIGETS provide a method to get CHANGED rows information sent to server side?

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

You must be logged in to reply to this topic.