开发者

Disable "reload grid" button in nav

开发者 https://www.devze.com 2023-01-06 15:15 出处:网络
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.

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

精彩评论

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