dm

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • dm
    Participant

    Hi Oleg,

    We are using jqGrid 3.6.4 and jquery 1.4.2 version. We are also using JSON datatype for displaying data in jqGrid. Following is the code snippet:

    jQuery(“#displayItemPerformanceGrid”).jqGrid({

    in reply to: How to do default sorting when grid first time load #96781
    dm
    Participant

    SomethingNew, we are on the same page and getting similar issue.

    OlegK, i am using json to load the data into grid. But data that loaded first time is not sorted by default base on column3 but we want to show data sorted base on column3 first time only. We don't want user to click on column3 and then it sort.

    According to your example data sorted base on id column by default. Now suppose same sorted data (means sorted by id) coming from server side and you want it to sort it base on amount column before it display on grid first time. I was able to do this by code:

    gridComplete : function(){

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

Stay connected with us in your favorite flavor!