/**
  * Function is used to set data for table content
  *
  * @param listData
  * @return
  */
 public AbstractReportDetailsView<T> withContentData(List<T> listOfData) {
   try {
     this.listOfData = listOfData;
     gridContent.setRows(this.listOfData);
   } catch (Exception e) {
     System.out.println("No record found.");
   }
   return this;
 }
 public void setSummaryValues(
     double remainingBefore, double outputIn, double inputIn, double remainingEnd) {
   ReportDetailSummary summary =
       new ReportDetailSummary(remainingBefore, outputIn, inputIn, remainingEnd);
   gridSummaryReportDetail.setRows(summary);
 }