jQWidgets Forums

jQuery UI Widgets Forums Grid Ajax url

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Ajax url Posts
  • Ajax url #17231

    naatha
    Member

    Hi,

    I am getting my json data using Ajax service + web service.

    Can I use the web service url directly to the grid?

    Because, currently I have a function which do the Ajax service. Then I use that function for the datafield like data: GetMyDate().

    In this way i could not refresh my grid.

    Thank you

    Ajax url #17245

    Peter Stoev
    Keymaster

    Hi naatha,

    You can make your Ajax calls through the jqxDataAdapter. To learn how, please take a look at this help topic: jquery-grid-datasources.htm.

    Best Regards,
    Peter Stoev

    jQwidgets Team
    http://www.jqwidgets.com

    Ajax url #17317

    naatha
    Member

    Hi Peter,

    I check the help topic – Could not understand.

    please help me

    my Ajax service as follows

    $.ajax({
    type: “POST”,
    async: false,
    contentType: “application/json; charset=utf-8”,
    url: “mypage.aspx/MyData”,
    data: ‘{}’,
    dataType: “json”,
    success: function (msg) {
    s = msg.d;
    },
    });

    How can i integrate this with grid control?

    thanks

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

You must be logged in to reply to this topic.