Contains properties useful within a tablerow loop block.

  tablerowloop can only be used within a tablerow tag.

Attributes

col

Returns the index of the current row, starting at 1.

col0

Returns the index of the current row, starting at 0.

col_first

Returns true if the current column is the first column in a row, returns false if it is not.

col_last

Returns true if the current column is the last column in a row, returns false if it is not.

first

Returns true if it's the first iteration of the loop. Returns false if it's not the first iteration.

index

The current item's position in the collection, where the first item has a position of 1.

index0

The current item's position in the collection, where the first item has a position of 0.

last

Returns true if it's the last iteration of the loop. Returns false if it's not the last iteration.

length

Returns the number of iterations for the loop – the number of items in the collection being iterated over.

rindex

Number of items remaining in the loop (length - index) where 1 is the index of the last item.

rindex0

Number of items remaining in the loop (length - index) where 0 is the index of the last item.