Does Generated Columns fire generateCell outside of the viewing scope?

Does a table call generated columns in a lazy way, or does it generate them all initially?

Let’s say I have a generated column which does some processing heavy calculations, and I’m only really interested in doing this for the visible 20 rows… not the remaining 5000 rows in the container. Is there a simple and elegant solution for this?

The generated columns are initialized for only the cached rows - see Table’s setPageLength and setCacheRate. I think the default page lenght is 15 and cache rate is 2 so at initial rendering you should get the generated columns for the first 45 rows.

If I remember correctly the generated columns are not cached - so if you scroll to the end of the table and then again to the beginning, the column generators will be run again for the rows in the beginning of the table.