title: How to add button in a Grid in Vaadin
body: <p>Hi Im try to add button in a grid in vaadin but it print the reference on button object.</p>
  
  <pre><code>Grid statementEnquiriesList = new Grid();
  statementEnquiriesList.addColumn("", Button.class);
          statementEnquiriesList.addColumn("DATE/TIME", String.class);
          statementEnquiriesList.addColumn("TRANSACTION ID", String.class);
          statementEnquiriesList.addColumn("FROM", String.class);
  
  // historyList is an array object
  for (int i = 0; i &lt; historyList.size(); i++)
  {
      HistoryList recordObj = historyList.get(i);
      Button addBtn = new Button();
      addBtn.setCaption("Add");
      statementEnquiriesList.addRow(addBtn , recordObj.getDate(), recordObj.getTransactionId(), recordObj.getFrom());
  }
  </code></pre>
  
  <p>how can i print "Add" caption on this</p>
  
  <p><a href="https://i.stack.imgur.com/eVZIk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/eVZIk.png" alt="enter image description here"></a></p>