The idea is that batch
suspends certain operations that would normally occur when calling the methods outside batch
. The example snippet hides the first 10 rows and columns. A refresh (relayout) of the view would occur twice on each iteration, if it was done outside a batch. So that second argument tells batch
to redraw the view's layout
, after evaluating the body. The only other option I find in the source code is recalc: true
. There are no other options available for this case.
Telerik by Progress