Jqgrid分页不起作用

时间:2017-01-18 11:05:20

标签: jquery pagination jqgrid

分页对我不起..如果添加loadonce:true,这意味着多重过滤器无法正常工作..我如何处理我的分页?帮助我。

jQuery("#displayparticipants").jqGrid({
    loadtext : sLoadText,
    align:"center",
    headertitles: true,
    url: jsonUrl,
    editurl: editUrl,
    datatype: "json",
    mtype: "post",
    postData: pdata,
    colNames : jQuery.parseJSON(colNames),
    colModel: jQuery.parseJSON(colModels),
    direction: $('html').attr('dir'),
    height: "100%",
    width: "100%",
    loadonce: false,
    gridview: true,             
    rowNum: 10,        
    scrollOffset:0,
    autowidth: autowidth,
    sortable : true,
    sortname: 'firstname',
    sortorder: 'asc',
    viewrecords : true,
    rowList: [10,25,50,100,250,500,1000,2500,5000],
    multiselect: true,
    hoverrows: true, // true by default, 
                     // can be switched to false if highlight on hover is not needed 

0 个答案:

没有答案