Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » LabelProvider called even for invisible GridColumns
LabelProvider called even for invisible GridColumns [message #1822304] Tue, 03 March 2020 16:01
Linuxhippy Mising name is currently offline Linuxhippy Mising nameFriend
Messages: 61
Registered: July 2009
Member
Hi there,

We are using RAP's NebulaGrid implementation to display search results from a database. Via a menu the user is able to hide/add various columns (~100 in total).

Hiding/adding is implemented via GridColumn.setVisible() and RAP does a great Job not generating any additional DOM elements on the client-side for invisble columns.

However, I recently noticed that the LabelProvider is called for each and every GridColumn, regardless of visibility - which in our case causes lots of unnescessary work. I wonder, is this behavour intentional, or has the optimization to not invoke the LabelProvider for invisble columns simply not been implemented?

Thanks & best regards, Clemens
Previous Topic:multiple custom themes extending from default theme
Next Topic:ClassCastException layout.GridData cannot cast to FillData in RAP 3.11
Goto Forum:
  


Current Time: Wed Sep 22 00:45:04 GMT 2021

Powered by FUDForum. Page generated in 0.02584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top