[jfx20] RFR: 8290863: Update the documentation of Virtualized controls to include the best practice of not using Nodes directly in the item list
Nir Lisker
nlisker at openjdk.org
Sat Jan 14 10:46:12 UTC 2023
On Fri, 13 Jan 2023 12:32:53 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
> This PR adds a warning about inserting Nodes directly into the virtualized containers such as ListView, TreeView, TableView and TreeTableView. It also adds code snippets showing the recommended pattern of using a custom cell factory for each of the virtualized control.
Instead of repeating this in every class, maybe writing it once in `Cell` and linking to it from these classes will be better?
-------------
PR: https://git.openjdk.org/jfx/pull/995
More information about the openjfx-dev
mailing list