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.
JQGridにレコードを追加するためにフォームの追加を使用しています。フィールドの1つはチェックボックスです。フォームが表示されたときにチェックボックスをデフォルトでオンにする方法を知っている人はいますか。onInitializeFormイベントとsetCellメソッドを使用すると思いましたが、うまくいきません。ありがとう。
それを見つけた:
beforeShowForm: function(eparams) { document.getElementById('calc_next_svc').checked = 'true'; } }, // add options