title: How to set bold true for some row in TableView JavaFX
body: <p>I have <code>TableView&lt;TypeReport&gt; tv</code> and column </p>
  
  <pre><code>tc_name.setCellValueFactory(new PropertyValueFactory&lt;&gt;("name"));
  </code></pre>
  
  <p>I want rows to be bold if date in cell of <code>tc_name</code> does not starts with <code>" "</code>.</p>
  
  <p>I use: </p>
  
  <pre><code>tv.setRowFactory(new Callback&lt;TableView&lt;TypeReport&gt;, TableRow&lt;TypeReport&gt;&gt;() {
      @Override
      public TableRow&lt;TypeReport&gt; call(TableView&lt;TypeReport&gt; param) {
          return new TableRow&lt;TypeReport&gt;() {
              @Override
              protected void updateItem(TypeReport item, boolean empty) {
                  if (item==null) {
                      setStyle("");
                  } else  {
                      String res=item.getName();
                      if (res.startsWith(" ")){}
                      else
                          setStyle("-fx-font-weight: bold");
                  }
              }
          };
      }
  });
  </code></pre>
  
  <p>When I open app, required rows are bold, but when I scroll, some differ rows are bold.</p>