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.
精彩评论