edvin
04/24/2017, 12:17 PMmikehearn
04/24/2017, 4:16 PMcellCache {}
defeat the built-in listview virtualisation that makes lists fast?mikehearn
04/24/2017, 4:28 PMmikehearn
04/24/2017, 4:28 PMmikehearn
04/24/2017, 4:29 PMmikehearn
04/24/2017, 4:36 PMedvin
04/24/2017, 6:25 PMcellCache {}
is only needed for very specific use cases, and we might not have been clear enough on that. I will have a look at it ASAP.edvin
04/24/2017, 6:26 PMedvin
04/24/2017, 6:27 PMthomasnield
04/24/2017, 11:13 PMedvin
04/25/2017, 7:12 AMron
04/25/2017, 7:16 AMedvin
04/25/2017, 7:20 AMedvin
04/25/2017, 7:22 AMedvin
04/25/2017, 7:24 AMif (it.target is TextArea && !it.isControlDown) return@addEventFilter
mikehearn
04/25/2017, 7:59 AMmikehearn
04/25/2017, 7:59 AMmikehearn
04/25/2017, 8:00 AMmikehearn
04/25/2017, 8:00 AMedvin
04/25/2017, 8:18 AMcellFormat { text = someTextDerivedFromItem }
?mikehearn
04/25/2017, 8:18 AMmikehearn
04/25/2017, 8:18 AMnimakro
04/25/2017, 8:22 AMcellFormat {graphic = vbox ()}
nimakro
04/25/2017, 8:31 AMcellFormat
the cellCache
will be handeled automatically for you ( right @edvin ?)edvin
04/25/2017, 8:31 AMcellFormat
doesn't cache, and is the best option unless you assign a heavy node hierarchy to graphic
, or need to persist state/do bindings etc inside the cell.edvin
04/25/2017, 8:32 AMcellFormat
basically works like a CellFactory implementation, but you don't need to deal with the null/empty case etc.nimakro
04/25/2017, 8:32 AMedvin
04/25/2017, 8:32 AMtext
and/or graphic
for every list cell that has a value. The others will be blank.mikehearn
04/25/2017, 8:43 AMmikehearn
04/25/2017, 8:43 AM