TableView
We all know what tables look like. Rows and columns of data that feel a little bit like spreadsheets once you’ve got enough rows and columns to need scrollbars. TableView
is the JavaFX layout element to create tables in your layouts.
For some reason, beginner programmers love tables, and they rush to start using them as soon as possible. Unfortunately, the official documentation for JavaFX and most of the information you’ll find on web about TableViews
is lacking in insight. The articles here take a different look at TableView
, and try to explain how things really work “under the hood” so that you can make informed decisions about how to code up your own TableViews
The Articles
TableView Basics
Everything you need to know to get started using TableView in your layouts.
TableCell and TableColumn Data
Learn how data gets from your ObservableList into your TableCells and how to cope with situations where the data gets a bit more complicated.
ListView
ListView
is one of the most common elements that you’ll find in JavaFX, yet it’s under-used by most programmers. It’s possible to look at a ListView
as just a TableView
with a single column, but there are some fundamental differences that make it much easier to use ListView
to present complicated layouts that display complex data structures.
The Articles
Understanding ListView
Learn the basics about ListView and how to customize the display of simple data.
ListView Cell Layouts
Learn how to customize ListView cell layouts to handle complex data structures and interactive data presentation