Open HoochSDS opened 5 years ago
With 2.2 you need to pipe the configurations on the Column. Like so:
table.addColumn("Last Name", new TextColumn<Person>() {
@Override
public String getValue(Person object) {
return object.getLastName();
}
}
.sortComparator((o1, o2) -> o1.getData().getLastName().compareToIgnoreCase(o2.getData().getLastName())));
The demo samples still need to be updated for the 2.2-SNAPSHOT
1) The order of column and header Argument are different in 2.2-SNAPSHOT, causing errors! GwtMaterial table 2.1.1.
GwtMaterial table 2.2-SNAPSHOT
Demo Example column definition: error in 2.2-SNAPSHOT
2) 'sortComparator()' cannot override 'sortComparator()' in 'gwt.material.design.client.ui.table.cell.Column'; overridden method is final
Thanks