jQWidgets Forums

jQuery UI Widgets Forums Grid Offline data entry, then sync data

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Offline data entry, then sync data #6908

    rkmoray
    Member

    I am looking for a tool that enables me to bind to a db, then when the user goes offline, they will have the ability to edit/add data. When the user then reconnects to the internet, they can sync the data changes back with the server.

    can jqwidgets do that, or should I be looking for a different tool?

    Thanks

    Offline data entry, then sync data #6916

    Peter Stoev
    Keymaster

    Hi rkmoray,

    The datagrid widget works on the client side, so you can add/remove/update data without synchronization with a server. For example: createremoveupdatedata.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Offline data entry, then sync data #6962

    rkmoray
    Member

    But how do I then update the server with the new data?

    Offline data entry, then sync data #6979

    Peter Stoev
    Keymaster

    Hi rkmoray,

    As shown in the sample, when a row is added, removed or updated, jqxGrid calls functions of the source object – updaterow, addrow and deleterow. If you don’t want to sync with the server each time when some of these functions is called, create local arrays and put the updated, deleted and added rows to them. Then once you decide to sync with the server, you can make Ajax calls and use your local arrays with records.

    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.