title: ListGrid in smart gwt showing blank rows
body: <p>I am trying to add rows to ListGrid in smart gwt. Rows are being added,but the values are not being displayed</p>
  
  <pre><code>public class SearchResultsView extends HLayout {
  public SearchResultsView(EmployeeServiceAsync empServiceAsync) {
      final ListGrid employeeGrid = new ListGrid();
      employeeGrid.setWidth(500);
      employeeGrid.setHeight(224);
      employeeGrid.setShowAllRecords(true);
  
      ListGridField empIDField = new ListGridField("empID", "Employee Id");
      ListGridField empNameField = new ListGridField("empName",
              "Employee Name");
  
      employeeGrid.setFields(empIDField, empNameField);
                                  // Employee[EmployeeData.getRecords().size()]);
  
      empServiceAsync.getRecords(new AsyncCallback&lt;List&lt;Employee&gt;&gt;() {
  
          @Override
          public void onSuccess(List&lt;Employee&gt; result) {
              System.out.println(result);
              /*
              Employee[] employee = result.toArray(new Employee[result.size()]);
  
              employeeGrid.setData(employee);*/
              EmployeeListGrid employeeListGrid[]=new EmployeeListGrid[result.size()];
              int counter=0;
              for (Employee employee : result) {
                  employeeListGrid[counter]=new EmployeeListGrid(employee.getEmpID(), employee.getEmpName());
                  System.out.println(employeeListGrid[counter].getEmpID()+"&gt;&gt;"+employeeListGrid[counter].getEmpName());
                  counter++;
              }
              employeeGrid.setData(employeeListGrid);
  
          }
  
          @Override
          public void onFailure(Throwable caught) {
              // TODO Auto-generated method stub
  
          }
      });
  
      this.addChild(employeeGrid);
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Explaination>>
  To populate the grid I am making an rpc call to the server, the server returns a List.
  I iterate the list and create an array of objects of type EmployeeListGrid(as EmployeeListGrid extends ListGridRecord ). Then feed the employeegrid wuth the array created.</p>
  
  <blockquote>
    <p>Have I missed something here, why is the grid showing empty rows?</p>
  </blockquote>
  
  <p>Please note I have debugged and made sure that "employeeListGrid" is getting populated correctly, but the contents are not rendered.</p>