Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091122

Turning off updateItem rendering in TableCell once scrolled or data visited

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      Hi,

      I've a table with 2K records and using SWT table. However, while using the same data with TableView, I see performance issue while scrolling 2000 records in tableview. While debugging, it looks everytime a scroll is done - updateItem is called (may be generating runtime objects) and scroll is is not smooth and very sluggish. The same is not true with SWT, once data is loaded into SWT table scrolling is pretty smooth.
      Please note this table updates at runtime. I want update to be called only when its underlying data changes.

      Is there a way to make scroll smooth and avoid getting updateItem called everytime scroll is done ( as the data is alreay loaded once underlying data got changed)?I would prefer this to take more memory to hold state than making user feel tableview performance is poor. If you try the same with Excel - no matter how many rows you scroll its very smooth..any ideas to improve this scroll performance?

            Unassigned Unassigned
            dayajfx Daya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported: