new SortableHeader<AssetPageRow, String>( sortableHeaderGroup,
constants.Creator(),
creatorColumn ),
false );
Column<AssetPageRow, Date> createdDateColumn = new Column<AssetPageRow, Date>( new DateCell( DateTimeFormat.getFormat( DateTimeFormat.PredefinedFormat.DATE_TIME_MEDIUM ) ) ) {
public Date getValue(AssetPageRow row) {
return row.getCreatedDate();
}
};
columnPicker.addColumn( createdDateColumn,
new SortableHeader<AssetPageRow, Date>( sortableHeaderGroup,
constants.CreatedDate(),
createdDateColumn ),
false );
TextColumn<AssetPageRow> lastContributorColumn = new TextColumn<AssetPageRow>() {
public String getValue(AssetPageRow row) {
return row.getLastContributor();
}
};
columnPicker.addColumn( lastContributorColumn,
new SortableHeader<AssetPageRow, String>( sortableHeaderGroup,
constants.LastContributor(),
lastContributorColumn ),
false );
Column<AssetPageRow, Date> lastModifiedColumn = new Column<AssetPageRow, Date>( new DateCell( DateTimeFormat.getFormat( DateTimeFormat.PredefinedFormat.DATE_TIME_MEDIUM ) ) ) {
public Date getValue(AssetPageRow row) {
return row.getLastModified();
}
};
columnPicker.addColumn( lastModifiedColumn,