/** * Add a new column to the table. * * @param title The column title to display * @return The new column header. You can use this object to modify the default display options. */ @Override public ArrayColumn addArrayColumn(String title) { ArrayColumn col = new ArrayColumn(title, columns.size() + 1, this); columns.add(col); col.setRoutingAddress(m_RoutingAddress); return col; }
@Override public void setColumnBehaviour(int columnNumber, int mode) { if (columns == null || columnNumber <= 0 || columnNumber > columns.size()) { return; } ArrayColumn col = columns.get(columnNumber - 1); col.setSortable(mode == ArrayColumn.COLUMN_BEHAVIOUR_DEFAULT); }