KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How use in TableView paginator.?.For This exmple... public class SampleController implements Initializable { @FXML private TableView<Student> table; @FXML private TableColumn<Student, Integer> id; @FXML private TableColumn<Student, String> name; @FXML private ObservableList<Student> list = FXCollections.observableArrayList(); // @FXML private Pagination pagination; // private StudentSQL ssql = new StudentSQL(); private Stage stage = new Stage(); private String row; @Override public void initialize(URL url, ResourceBundle rb) { id.setCellValueFactory(new PropertyValueFactory<Student, Integer>("id")); name.setCellValueFactory(new PropertyValueFactory<Student, String>("name")); list = ssql.students(); table.setItems(list); } }
Tags (comma-separated)
Save Edits
Cancel