title: setData in ListGrid in SmartGWT
body: <p>Hi i am trying to use <code>SmartGWT</code>.</p>
  
  <p>I have Arraylist</p>
  
  <pre><code>ArrayList&lt;FileDocument&gt; documentsArrayList = new ArrayList&lt;FileDocument&gt;();
  </code></pre>
  
  <p>// all the value are in the documentsArrayList</p>
  
  <p>and a table </p>
  
  <pre><code>private ListGrid getDocumentTable() {
          if (documentTable == null) {
              documentTable = new ListGrid();
              documentTable.setSize("644px", "379px");
              documentTable.setCanResizeFields(true);
  
              documentTable.setFields(getStatus(),getIcon(),getName(),getSize(),getModifiedby(),getModifiedDate());
          }
          return documentTable;
      }
  </code></pre>
  
  <p>fields of the grid are like</p>
  
  <pre><code>public ListGridField getName() {
          if (name == null) {
              name = new ListGridField("name","Name");
          }
          return name;
      }
  </code></pre>
  
  <p>I want to put values to array list value to table.</p>
  
  <p>documentTable.setData(some list grid record);</p>
  
  <p>How to convert <code>ArrayList</code> in <code>ListGridRecord</code>
  so that i can set the data.</p>