beforeRequest event jqGrid: set jqGrid page before url is called

前端 未结 1 1565
伪装坚强ぢ
伪装坚强ぢ 2021-01-22 04:09

I am trying to set the page variable in jqGrid before the GET request to the URL...

        jQuery(\"#frTable\").jqGrid({                
            cmTemplate:         


        
相关标签:
1条回答
  • 2021-01-22 04:55

    I had the same problem but I got it working doing this on the BeforeRequest function:

    $('#GRID_ID').jqGrid('setGridParam', { postData: { page: 4} });
    
    0 讨论(0)
提交回复
热议问题