0
私はフォーム編集オプションでJqGridを持っています。 追加または編集をクリックすると、ダイアログボックスが表示されますが、幅はすべての画面に表示されます。私が望むのは、特定の幅を設定することです。 width属性を使用しようとしましたが、動作しませんでした。JqGrid、幅の書式の変更
$('#jqgCompLine').jqGrid('navGrid', '#jqgpCompLine',
{ add: true, del: true, edit: true, search: false },
{ width: '100px', url: '@Url.Action("Update")', closeOnEscape: true,
beforeShowForm: function (form) {
$('#tr_TrC', form).attr('disabled', true);
$('#tr_All', form).attr('disabled', true);
$('#tr_Pe', form).attr('disabled', true);
},
beforeInitData: function() {
$("#jqgCompLine").setColProp('Cur', { formoptions: { label: 'Currency'} });
$("#jqgCompLine").setColProp('FCur', { formoptions: { label: 'Converted Currency'} });
}
},
私は何かを見逃しましたか?
お返事ありがとうございます!
ありがとうオレグ、それはとても愚かですが、私にはほとんど1h00の研究が必要でした。 – LotuX
@LotuX:ようこそ! – Oleg