title: How to bind null value to jqgrid that contains all rows in Editable format
body: <p>I am using jqgrid in my asp.net application. I am making all the grid rows in editable fomat in the LoadComplete trigger of the jqgrid as follows:</p>
  <pre><code> ids = $(&quot;#grid&quot;).jqGrid('getDataIDs');
                      var l = ids.length;
                      for (var i = 0; i &lt;= l; i++) {
                          $(&quot;#grid&quot;).jqGrid('editRow', ids[i], true);
  }
  </code></pre>
  <p>In two of the columns , i have dropdown lists . Here, the based on the external dropdown change, some rows get addded to the jqgrid.</p>
  <p>When added, they contain the Null values initially.</p>
  <p>So, inorder to show null values in grid. I am adding an list item , to display them.</p>
  <p>The problem is here , i should not allow users to again select null values.</p>
  <p>So, i need that option in the dropdown list only once that is before a selection is made.</p>
  <p>later, it should not be visible or selectable..</p>
  <p>Please help on this..</p>
  <p><strong>Updated:</strong></p>
  <p>Initially the grid contains no rows..</p>
  <p>On the dropdown change , the grid gets refreshed and new rows are added based on dropdown selection.</p>
  <p><strong>grid data</strong></p>
  <pre><code>for example:     
    col1  col2  col3  col4
  
    Item1 Null  null  null
    Item2 Null  Null  Null
  </code></pre>
  <p>similarly like this:</p>
  <p>Here, Col1 is not editable rest of them are editable.</p>
  <p>Col2 and Col4 are dropdowns</p>
  <p>I am loading select options into dropdown by using</p>
  <pre><code> editoptions: {
                      value: { &quot; &quot;: &quot; &quot;, &quot;option1&quot;: &quot;option1&quot;, &quot;option2&quot;: &quot;option2&quot;, &quot;option2&quot;: &quot;option2&quot;, &quot;option3&quot;: &quot;option3&quot; },
  </code></pre>
  <p>Here, my problem is that .. the user should not be able to select that null option .</p>
  <p>I have included it for the intial data binding.
  IF i am not including that null option(&quot;&quot;)
  then the dropdowns are showing with option 1 as default but the user has not yet selected any option.</p>