jQuery UI Widgets Forums Plugins Data Adapter jqxDataAdapter independent use

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 3 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxDataAdapter independent use #114428


    Hello to all.
    I would like to use the adapter independent from grid. Are there calls to the adapter to perform the update, insert, delete? Could you provide samples.
    Second question.
    Could you show an example of an editable grid that is connected with json adapter that is has no data in the grid or adapter. I would like to see an example when you add a single record to the grid and adapter? As illustrate with many examples of existing data with a grid. What routine needs to be performed to update the adapter when the grid is updated. This is with an empty grid and adapter.
    I only would like to know in code when this procedure should be performed in code to sync the grid with the adapter.
    Thanks for any answer you provide.

    jqxDataAdapter independent use #114449


    Hello EricK,

    It depends on the case – what is the environment that you use and also, is your project with local data only?
    Is the Server-Side or Client-Side approach?
    To add one new record you could use the addrow method to achieve it.
    You could use the source.localdata = newData; object and after that update it with the updatebounddata method.
    I would like to suggest you look at this help-topic that could be useful:

    Best Regards,
    Hristo Hristov

    jQWidgets team

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

You must be logged in to reply to this topic.