jQWidgets Forums

jQuery UI Widgets Forums Grid Knockout and Grid – Ajax call example

This topic contains 2 replies, has 2 voices, and was last updated by  Glen Edwards 12 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Knockout and Grid – Ajax call example #8799

    Glen Edwards
    Participant

    Hi

    I am seeing if the Grid works with knockout for an upcoming project. I am trying to get my view model to do a remote call and then populate the grid using Knockout bindings. The examples are very nice but are using static data. I am struggling to be able to load the data and then get that to appear in the grid. Are there any examples of the ViewModel doing an ajaxCall to load the data. I am probably missing something really obvious.

     

    Thanks

    Knockout and Grid – Ajax call example #8808

    Peter Stoev
    Keymaster

    Hi Glen,

    Could you provide a small sample or code snippet which illustrates your scenario? How do you fill the KO’s observableArray with items?

    Looking forward to your reply.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Knockout and Grid – Ajax call example #9570

    Glen Edwards
    Participant

    Solved the problem. It was getting the observable array set correctly in the datasource that was my downfall. Thanks

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

You must be logged in to reply to this topic.