カスタム ボタンがサブグリッドに追加された場合 (jqgrid navButtonAdd を使用)、FireFox と IE のみで、ナビゲーション ボタン (トップページャーまたは通常のページャーのいずれかに) にバグがありますか? Chrome では正常に動作するように見えます - また、親グリッドのカスタム ボタンは Firefox と IE でも正常に動作します。これらのブラウザーだけのサブグリッドとしてグリッドにのみ表示されるのは、表面的な問題/ホバーとサイズの問題です。
これは、ボタンのサイズとホバーの配置に関するバグです。
この写真をチェックして、私が何を意味するかを確認してください: http://i.imgur.com/YLroY.png
私のコード (サブグリッドの subGridRowExpanded プロパティ内) は次のようになります。
jQuery("#" + subgrid_table_id).jqGrid('navButtonAdd','#RedirectsTable_' + row_id + '_t_toppager_left',
{
caption : "Add New Region Url... ", buttonicon : 'ui-icon-plus',
id : "btnAddNewRegionUrl_" + subgrid_table_id,
onClickButton : function()
{
addNewRegionUrlRow("#" + subgrid_table_id, row_id);
}
}).jqGrid('navButtonAdd','#RedirectsTable_' + row_id + '_t_toppager_left',
{
caption : "Copy All ", buttonicon : 'ui-icon-copy',
id : "btnCopyRegionUrls_" + subgrid_table_id,
onClickButton : function()
{
copyRegionUrlRows(row_id);
}
}); // etc chaining them like this. Also, I add buttons in this manner for the parent grid and to the bottom pager as well
これを修正する助けがあれば大歓迎です。
ありがとう!:)