Tree widget

Philipp Kewisch mozilla at kewis.ch
Wed Mar 29 00:14:52 UTC 2017


On 3/28/17 8:50 AM, Gervase Markham wrote:
>> How did I do that? The basic trick is that I don't create DOM nodes for
>> every rows, but only for the 10 or so visible rows. The data is in a
>> pure data array. When the user scrolls, I do not move or destroy DOM
>> nodes, but merely replace their text content and leave the nodes in
>> place. 
> Er... great minds think alike :-)
They do indeed. I'm pretty sure roc's fast list is doing the same. See
links here: https://bugzilla.mozilla.org/show_bug.cgi?id=1183812#c3

Philipp



More information about the tb-planning mailing list