2014-06-26 15:39 GMT-03:00 Hernán Morales Durand <hernan.morales@gmail.com>:
2014-06-26 10:09 GMT-03:00 Esteban Lorenzano <estebanlm@gmail.com>:
you are basically creating 1000 * 100000 morphs (and complex ones). Actually, I want to create about 20 million of rows.
Cool :)
Do you have an example of those frameworks displaying millions of rows? How they manage scrolling?
They recycle the views, showing only views for the items that fit on screen and, maybe, a few extra at the edges. Using callbacks to get the view and bind the data for each one. There was a way to use Dolphin Smalltalk ListView to use its underlying SysListView32 in virtual mode (I can't find it now). There are HTML list widgets that also do that. Here is a case of how to it with C# <http://www.codeproject.com/Articles/42229/Virtual-Mode-ListView> Of course nothing of this helps you immediately, unless you're going to implement such virtual/recycling lists in Morph. Regards! Esteban A. Maringolo