|LabelProvider called even for invisible GridColumns [message #1822304]
||Tue, 03 March 2020 16:01
| Linuxhippy Mising name
Registered: July 2009
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
Powered by FUDForum
. Page generated in 0.05325 seconds