Hi,
I faced an issue about adding rows dynamically to a TableView.
My TableView adds rows dynamically (About 1000) ...and the way I do this is:
private final ObservableList<PricingDatum> rows = FXCollections.observableArrayList();
Then whenever I get a new row, I just add it to the list via the add method.. (plus updates on properties)
Doing this results in more than one gig of memory.
However, if I preset the rows before, it works like a charm (25 meg of memory)
What is the best efficient way to add rows dynamically to a view?