JavaFx TableView issues with big data

蹲街弑〆低调 提交于 2020-01-11 09:34:07

问题


I have been using JavaFx's tableview to display a huge amount of data from the database. The table is like 150+ columns and millions of rows. I can handle the rows by getting the data in chunks and implementing paginations(link). But the no of columns is also an area of concern. It takes a lot of time to paint the data and does not update the data when I change the values in the model(ref). I dont have a predefined data structure and so the method at this is not useful. I moved on to use JTable inside JavaFx but JFX2.0 has removed the support for Swing components inside a JavaFX scene. So being left with tableview is there some way to add pagination to columns and rows both without overutlizing the memory ?

来源:https://stackoverflow.com/questions/15197490/javafx-tableview-issues-with-big-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!