private String buildTable(TableFacade tableFacade) {
    tableFacade.setColumnProperties("psgName", "OFltNo", "fltDate", "depAirport", "arrAirport");

    HtmlTable table = (HtmlTable) tableFacade.getTable();
    table.getTableRenderer().setWidth("350px");
    HtmlRow row = table.getRow();
    row.setFilterable(Boolean.FALSE);
    MouseRowEvent onmouseout = new MouseRowEvent();
    onmouseout.setStyleClass("odd");
    MouseRowEvent onmouseover = new MouseRowEvent();
    onmouseout.setStyleClass("even");
    row.setOnmouseout(onmouseout);
    // table.setCaption("测试用户信息列表");

    HtmlColumn id = row.getColumn("psgName");
    id.setFilterable(false);
    id.setTitle("旅客");
    id.setSortable(Boolean.FALSE);
    HtmlColumn firstName = row.getColumn("OFltNo");
    firstName.setTitle("航班");

    HtmlColumn deleteAction = row.getColumn("arrAirport");
    deleteAction.setTitle("到达");
    deleteAction.setSortable(Boolean.FALSE);

    deleteAction
        .getCellRenderer()
        .setCellEditor(
            new CellEditor() {
              public Object getValue(Object item, String property, int rowcount) {
                Object value = new BasicCellEditor().getValue(item, property, rowcount);
                HtmlBuilder html = new HtmlBuilder();

                /*
                 * Object id = ItemUtils.getItemValue(item, "airportCode");
                 *
                 * html.a().href().quote().append(request.getContextPath()+
                 * "/setupModify.action?saveKey="+id).quote().close();
                 * html.img()
                 * .src(request.getContextPath()+"/images/pencil.png").
                 * border("none").end(); html.aEnd();
                 */
                if (value != null && value.toString().toUpperCase().equals("CAN")) {
                  html.append(value.toString()).append("(gz)");
                } else html.append(value);
                return html.toString();
              }
            });
    HtmlColumn arrAction = row.getColumn("depAirport");
    arrAction.setTitle("起飞");
    arrAction.setSortable(Boolean.FALSE);

    arrAction
        .getCellRenderer()
        .setCellEditor(
            new CellEditor() {
              public Object getValue(Object item, String property, int rowcount) {
                Object value = new BasicCellEditor().getValue(item, property, rowcount);
                HtmlBuilder html = new HtmlBuilder();

                /*
                 * Object id = ItemUtils.getItemValue(item, "airportCode");
                 *
                 * html.a().href().quote().append(request.getContextPath()+
                 * "/setupModify.action?saveKey="+id).quote().close();
                 * html.img()
                 * .src(request.getContextPath()+"/images/pencil.png").
                 * border("none").end(); html.aEnd();
                 */
                if (value != null && value.toString().toUpperCase().equals("CAN")) {
                  html.append(value.toString()).append("(gz)");
                } else html.append(value);
                return html.toString();
              }
            });
    HtmlColumn fltdateAction = row.getColumn("fltDate");
    fltdateAction.setTitle("起飞日期");
    fltdateAction.setSortable(Boolean.FALSE);

    fltdateAction
        .getCellRenderer()
        .setCellEditor(
            new CellEditor() {
              private Format sm = new SimpleDateFormat("dd/MMM", Locale.ENGLISH);

              public Object getValue(Object item, String property, int rowcount) {
                Object value = new BasicCellEditor().getValue(item, property, rowcount);
                HtmlBuilder html = new HtmlBuilder();
                html.append(sm.format(value));
                return html.toString();
              }
            });
    return tableFacade.render();
  }