Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
すべての結果が1ページに収まる場合、jqgridフッターのページネーションを非表示にするにはどうすればよいですか?
これがデフォルトの動作になるはずだと思いますよね?
jqgrid のデフォルトの動作ではありません。同じものを非表示にするには、条件を使用する必要があります。関数でも同じことができますgridComplete()。以下に示すように、ページャーを非表示にするか、空にすることができます
gridComplete()
gridComplete: function(){ if(condition) $( '#' + gridId + 'pager_center' ).hide(); // or you can also use $('#pager_center').empty(); },