How to handle selection with large amounts of data in NatTable -
when using nattable selection layer, if have huge amounts (1million+) columns of data, selecting row take extremely long amounts of time (20 seconds+) or outright crash application. there better way handle selection of large amounts of data or maybe way select entire amount visually show amount of showing columns selected , updating table scrolled?
it turns out performance leak in nattable. , interestingly exists in form long time , nobody has seen until now.
i created ticket [1] , work on fix.
until try remove or replace "bad guys" composition. if not possible, need wait fix.
columnreorderlayer
: if don't need column reorder support, remove layer stack (when talking millions of columns, suppose reordering not required feature)columnhideshowlayer
: if don't need support hiding columns, remove layer stack. not sure if need use case of showing millions of columns.selectionmodel
: don't know data model, maybepreserveselectionmodel
performs better @ moment. or have @ proposed fix attached ticket (once uploaded) , use local version of fix in environment creating customiselectionmodel
implementation based on fix.
Comments
Post a Comment