@@ -87,6 +87,10 @@ public class KuljetusRaportit extends TabPohja {
|
||||
tcJälkiruoat.setMinWidth(100);
|
||||
tcJälkiruoat.setCellValueFactory(new PropertyValueFactory<>("jälkiruoat"));
|
||||
|
||||
TableColumn<RaporttiRivi, String> tcErva = new TableColumn<>("Erityisruokavalio");
|
||||
tcErva.setMinWidth(200);
|
||||
tcErva.setCellValueFactory(new PropertyValueFactory<>("erva"));
|
||||
|
||||
TableColumn<RaporttiRivi, String> tcLisätiedot = new TableColumn<>("Lisätiedot");
|
||||
tcLisätiedot.setMinWidth(300);
|
||||
tcLisätiedot.setCellValueFactory(new PropertyValueFactory<>("lisätiedot"));
|
||||
@@ -107,7 +111,7 @@ public class KuljetusRaportit extends TabPohja {
|
||||
tcYhteyshenkilönSähköposti.setMinWidth(200);
|
||||
tcYhteyshenkilönSähköposti.setCellValueFactory(new PropertyValueFactory<>("yhteyshenkilönSähköposti"));
|
||||
|
||||
tableView.getColumns().addAll(tcNimi, tcPvm, tcSalaatit, tcPääruoat, tcJälkiruoat, tcLisätiedot,
|
||||
tableView.getColumns().addAll(tcNimi, tcPvm, tcSalaatit, tcPääruoat, tcJälkiruoat, tcErva, tcLisätiedot,
|
||||
tcYhteyshenkilönNimi, tcLaskutusOsoite, tcYhteyshenkilönPuhelinnumero, tcYhteyshenkilönSähköposti);
|
||||
tableView.setPlaceholder(new FontLabel(BUTTON_FONT, "Hae raportti"));
|
||||
for (TableColumn<RaporttiRivi, ?> sarake : tableView.getColumns()) {
|
||||
|
||||
Reference in New Issue
Block a user