View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 28th, 2017, 02:44 PM
Yeah, visual elements can get regenerated several times. Does that happen to be the first item in the table - that could mean a pass specifically to get the height of the first element, which will then be used to lay out the rest of the table.

Is it an option to build all this text in a component field, which the visual element can just look up? That saves the foreach from having to run so many times.
Mathias is offline   #12 Reply With Quote