jQWidgets Forums

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts

  • Gunjan
    Participant

    Hi Peter,

    From your answers I got clue that you don’t want to understand and answer the solution. I told you that I am not performing any operation on grid data and Ajax call is not related to any event on grid. It’s a separate call doing noting with the grid but you are stuck with your answer. So I am not going to ask you again.

    I am replying again because you are referring someone else as me. If I had to ask again I would have added comment. So instead of putting absurd comments put more focus on understanding end user’s problem or let other peers answer.

    Thanks,
    Gunjan


    Gunjan
    Participant

    Hi Peter,

    I am not refreshing grid data. I am aware that grid data refresh will cause Grid to re-render. As you can see in above code snippet, even if I put only an alert in the success callback it’s causing grid to re-render.

    Thanks,
    Gunjan


    Gunjan
    Participant

    Hi Peter,

    I understand that on scroll, change page, filter or sort event grid will re-render itself and make Ajax call to load new data. In our case grid is not making Ajax call rather it’s only calling rendered callback method only. We are not doing any manipulation of grid. We are just making an Ajax call on a button click using below code snippet. After execution of success callback method of Ajax call, grid is calling rendered callback method which is not required as there was no operation performed on the grid. Can you please suggest solution for it.

    $.ajax({
    type: "POST",
    url: url,
    data: data,
    success: function (data) {
      alert(data);
    }
    });

    Gunjan
    Participant

    Yes Peter. Grid data has been reloaded using updatebounddata with “filter” argument.

    Thanks,
    Gunjan

    in reply to: Apply dynamic sorting Apply dynamic sorting #77628

    Gunjan
    Participant

    Hi Vladimir,

    It didn’t work with loadComplete or beforeLoadComplete callbacks. My code is as below:

    var dataAdapter = new $.jqx.dataAdapter(source, {                
               loadComplete: function (records) {
                       source.sort = customsort;                   
               }
    });

    Thanks,
    Gunjan


    Gunjan
    Participant

    Issue has been resolved. dataAdapter.records was holding blank objects corresponding to no of records * no of pages. Updated rendergridrows method to return only non-blank objects.

    Thanks,
    Gunjan


    Gunjan
    Participant

    Hi Dimitar,

    In the demo link only server side pagination has been used. Can you please also provide demo link for server side pagination with groupable: true and value for groups property provided.

    Thanks,
    Gunjan


    Gunjan
    Participant

    Hi Dimitar,

    I am doing pagination at server side. Grouping is done at client side only on the records returned from server. For 1st page it’s working fine. For next page onwards it’s not working.

    Thanks,
    Gunjan

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