sortableHeaderGroup,
constants.PackageName(),
packageNameColumn ),
false );
Column<QueryPageRow, Date> createdDateColumn = new Column<QueryPageRow, Date>( new
DateCell(
DateTimeFormat.getFormat(
DateTimeFormat.PredefinedFormat.DATE_TIME_MEDIUM ) ) ) {
public Date getValue(QueryPageRow row) {
return row.getCreatedDate();
}
};
columnPicker.addColumn( createdDateColumn,
new SortableHeader<QueryPageRow, Date>(
sortableHeaderGroup,
constants.CreatedDate(),
createdDateColumn ),
false );
Column<QueryPageRow, Date> lastModifiedColumn = new Column<QueryPageRow, Date>( new
DateCell(
DateTimeFormat.getFormat(
DateTimeFormat.PredefinedFormat.DATE_TIME_MEDIUM ) ) ) {
public Date getValue(QueryPageRow row) {
return row.getLastModified();