开发者

Disable "reload grid" button in nav

Does anyone know how to disable the "reload grid" button (a.k.a. 开发者_JAVA技巧the "refresh" button) in the grid navigation?


You should use refresh:false paremeer of the navigator (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:navigator):

$("#list").jqGrid('navGrid', '#pager',
    { edit: false, add: false, del: false, search: false, refresh:false });


Realized by accident that none of the navigation buttons, including the "Reload Grid" button, appear if you omit the $("#list").jqGrid('navGrid', '#pager', ...) call.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜