jQWidgets Forums

jQuery UI Widgets Forums Plugins Data Adapter DataAdapter Data Send to server get empty

This topic contains 2 replies, has 2 voices, and was last updated by  alpesh 11 years, 1 month ago.

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

  • alpesh
    Participant

    Hi ,

    We are using below code for filter data send to server but we are getting empty data on server side.below code we are passing ‘id:15’ to server side request we can’t get it id on server.

                 var filterdata=[{fileter_data :{ 'id':15 }}];       
                              var requestSource={
                                datatype:"json",
                                data:filterdata,
                                async:false,
                                url: url
                            }
                            var requestDataAdapter=new $.jqx.dataAdapter(requestSource);

    Could you please help us ??
    Thanks,


    Peter Stoev
    Keymaster

    Hi alpesh,

    The filterdata object according to the Google Chrome’s Network Tab is included in the Server Call.

    var filterdata = [{
           fileter_data: {
               'id': 15
           }
       }];
       var requestSource = {
           datatype: "json",
           data: filterdata,
           async: false,
           url: 'http://www.jqwidgets.com/'
       }
       var requestDataAdapter = new $.jqx.dataAdapter(requestSource);
       requestDataAdapter.dataBind();

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    alpesh
    Participant

    Thanks Peter ,

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

You must be logged in to reply to this topic.