The following code snippets show the declarations of the fields and how I set up the table.
Please tell me what went wrong. The data is not getting displayed.
@FXML
private TableColumn<Map<String, Object>, String> productNameCol ;
@FXML
private TableColumn<Map<String,Object>, String> requestedBarcodeCol;
@FXML
private TableColumn<Map<String,Object>, String> pickedBarcodeCol;
productNameCol.setCellValueFactory(new PropertyValueFactory<Map<String,Object>,String>("ProductName"));
requestedBarcodeCol.setCellValueFactory(new PropertyValueFactory<Map<String,Object>,String>("ActualBarcode"));
pickedBarcodeCol.setCellValueFactory(new PropertyValueFactory<Map<String,Object>,String>("PickedBarcode"));
requestedQuantityCol.setCellValueFactory(new PropertyValueFactory<Map<String,Object>,String>("ActualQuantity"));
actualQuantityCol.setCellValueFactory(new PropertyValueFactory<Map<String,Object>,String>("PickedQuantity"));
unMatchDataTableView.setItems(FXCollections.observableArrayList(unmatchedBarcodeMap));