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, maybe preserveselectionmodel performs better @ moment. or have @ proposed fix attached ticket (once uploaded) , use local version of fix in environment creating custom iselectionmodel implementation based on fix.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=509685


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -