title: DataGrid in GWT, can't clear it
body: <p>I am populating a DataGrid in GWT on a button click. It is working fine but if I try to re-populate it, the <strong>data gets appended</strong> to the existing table.</p>
  
  <p>I am using <strong>UI Binder/GWT 2.5</strong> to create DataGrid.</p>
  
  <p>I have already tried this:</p>
  
  <pre><code>    // My list which gets updated with the response of RPC. Initially it is empty.
      List&lt;List&lt;String&gt;&gt; tableRowData = new ArrayList&lt;List&lt;String&gt;&gt;();
      grid.setRowCount(0); // Clears all data.
      grid.setRowCount(tableRowData.size(), true); // Set the size of the new data.
      grid.setRowData(0, tableRowData); // Set the new data.
  
      Populate tableRowData...
  
      Populate data grid // works perfect 
  </code></pre>
  
  <p>Also since GWT 2.1.1, there is a new method setRowData(List)</p>
  
  <p>Each element of the list tableRowData is again a list of strings. Is it even possible <strong>without
  using ListDataProvider</strong>. For first time it works perfect, though.<br>
  Can anyone please point out what I am missing.</p>
  
  <p>Thanks</p>