title: Apply Jqgrid required attribute dynamically
body: <p>In Jqgrid you apply a required attribute to any given field like this</p>
  
  <pre><code> { name: 'Comments', index: 'Comments', editable: true, editrules: { required: true }, edittype: 'textarea' }
  </code></pre>
  
  <p>How would I go about doing this dynamically?
  I'd like to make a field required, based on another field (like the selected value of a dropdown/combobox)</p>
  
  <p>I know where to place the code, eg, my dropdown's select event. But not how to apply the required attribute in any other way other than the code sample I supplied..</p>