abraxas1985

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Activate and de-activate searching operation for some field #84222
    abraxas1985
    Participant

    Ok, thanks for the answer

    in reply to: Pagination doesn’t works #84209
    abraxas1985
    Participant

    In the YamilBracho's JSON example he sets records to 18 but he sets less element in the field rows.

    This is now the JSON that I generate dinamically:

    {“total”:”17″,”page”:”1″,”records”:”68″,”rows”:[{“cell”:[32,”01/01/2004″,”01/01/2009″,”INT”,”PE0041″,”0″,”*”,”*”,”ZEROAR”]},{“cell”:[1500,”01/01/2004″,”01/01/2009″,”KOR”,”*”,”*”,”*”,”*”,”AR08POAGEB”]},{“cell”:[3000,”01/01/2004″,”01/01/2009″,”GER”,”*”,”*”,”*”,”*”,”AR08POAGEB”]},{“cell”:[3500,”01/01/2000″,”01/01/2009″,”AUT”,”*”,”*”,”*”,”*”,”AR08POAGEB”]}]}

    I set in the Jqgrid definition:

    rowNum: 4

    In the server I calculate the number of total pages by totalRecords taken by the query (68) divided by the number of row to view (4).

    So i obtained 17 and I set this value on the field total.

    Now I view 4 records in the JQgrid but the paging is not active ( there isn't any arrow active in the pager bar).

    in reply to: Pagination doesn’t works #84199
    abraxas1985
    Participant

    Sure!

    {“total”:”2″,”page”:”1″,”records”:”3″,”rows”:[{“cell”:[1,””,””,”*”,”*”,”*”,”HONEY”,”*”,”ARSPOSIALT”]},{“cell”:[2,””,””,”*”,”*”,”*”,”TORATES”,”*”,”ARMONIAUKH”]},{“cell”:[3,””,””,”ZAF”,”*”,”*”,”PROMOSA”,”*”,”PROMOSAAR4″]},{“cell”:[4,””,””,”SWE”,”*”,”*”,”*”,”*”,”ARMSVE5″]},{“cell”:[5,””,””,”AUT”,”*”,”*”,”*”,”*”,”ARPROMOAGO”]},{“cell”:[6,””,””,”GER”,”*”,”*”,”*”,”*”,”ARFERRAG”]},{“cell”:[7,””,””,”GBR”,”*”,”*”,”*”,”*”,”PROMOAUGUK”]},{“cell”:[8,””,””,”AUS”,”*”,”*”,”*”,”*”,”ARMAUS1308″]}]}

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

Stay connected with us in your favorite flavor!