title: How to make only some columns editable in a Vaadin Grid?
body: <p>Vaadin Grid allows to be defined as editable with</p>
  
  <pre><code>grid.setEditorEnabled(true);
  </code></pre>
  
  <p>This makes all visible columns editable. However I don't want the user to edit an specific column, but seems like the editable is an all or nothing.</p>
  
  <p>The next best solution I have found is to define an editor field with a disabled editor, which almost does the trick but the user is still able to select the text and move the cursor (but the field is not editable anymore).</p>
  
  <pre><code>Grid.Column nameColumn = grid.getColumn("fullName");
  nameColumn.setHeaderCaption("Full Name");
  nameColumn.setEditorField(getNoEditableTextField());
  
  ...
  
  private Field&lt;?&gt; getNoEditableTextField() {
      TextField noEditableTextFiled = new TextField();
      noEditableTextFiled.setEnabled(false);
      return noEditableTextFiled;
  }
  </code></pre>
  
  <p>I believe Label cannot be used because it's not a Field.</p>
  
  <p>Is there a better option to achieve this?</p>
  
  <p>edit: as aakath said, there is a way of achieving this not enabling the column to be edited, but in doing so the cell value disappears when you edit the row, which is not desirable.</p>