The tablerow object is used inside the tablerow tag. It contains the attributes of its parent for loop.

tablerow.length

Returns the number of iterations of the tablerow loop.

tablerow.index

Returns the current index of the tablerow loop, starting at 1.

tablerow.index0

Returns the current index of the tablerow loop, starting at 0.

tablerow.rindex

Returns tablerow.index in reverse order.

tablerow.rindex0

Returns tablerow.index0 in reverse order.

tablerow.first

Returns true on the first iteration of the tablerow loop, otherwise false.

tablerow.last

Returns true on the last iteration of the tablerow loop, otherwise false.

tablerow.col

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

tablerow.col0

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

tablerow.col_first

Returns true if the current column is the first column in a row, otherwise false.

tablerow.col_last

Returns true if the current column is the last column in a row, otherwise false.