title: How do I completely disable row selection in a CellTable?
body: <p>I want to completely view updates when a row is selected in a CellTable. How can this be done? In the following test case, using <a href="http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/view/client/NoSelectionModel.html" rel="nofollow noreferrer">NoSelectionModel</a>, the view is still updated: clicking on a row changes the background and border colors of the row until another row is clicked.</p>
  
  <pre><code>    CellTable&lt;String&gt; table = new CellTable&lt;String&gt;();
  
      TextColumn&lt;String&gt; column = new TextColumn&lt;String&gt;()
      {
          @Override
          public String getValue(String string)
          {
              return string;
          }
      };
  
      table.addColumn(column);
  
      List&lt;String&gt; sampleData = Arrays.asList("foo", "bar", "baz");
  
      table.setRowData(sampleData);
  
      final NoSelectionModel&lt;String&gt; selectionModel = new NoSelectionModel&lt;String&gt;();
      table.setSelectionModel(selectionModel);
  
      RootPanel.get().add(table);
  </code></pre>
  
  <p>I've also attempted to subclass SingleSelectionModel with empty override methods, without success.</p>
  
  <p>I can fake the behavior I want by providing empty <a href="https://stackoverflow.com/questions/6386070/append-custom-style-to-a-gwt-celltable-in-this-case-all-cells">CSS stylings</a> for selected rows, but that method seems hack-ish.</p>