# tablerowloop

> The tablerowloop Liquid object, which exposes the state of the surrounding tablerow loop in a Shoplazza theme, such as row, column and index.

Information about a parent [tablerow loop](../tags/iteration#tablerow).

| Properties | Type                                | Description                                                            |
| :--------- | :---------------------------------- | :--------------------------------------------------------------------- |
| `first`    | [number](../basics/liquid-types#number) | Returns `1` if the current iteration is the first. Returns `0` if not. |
| `last`     | [number](../basics/liquid-types#number) | Returns `1` if the current iteration is the last. Returns `0` if not.  |
| `index`    | [number](../basics/liquid-types#number) | The 1-based index of the current iteration.                            |
| `index0`   | [number](../basics/liquid-types#number) | The 0-based index of the current iteration.                            |
| `length`   | [number](../basics/liquid-types#number) | The total number of iterations in the loop.                            |
| `rindex`   | [number](../basics/liquid-types#number) | The 1-based index of the current iteration, in reverse order.          |
| `rindex0`  | [number](../basics/liquid-types#number) | The 0-based index of the current iteration, in reverse order.          |

```json title="Object"
{
  "first": 1,
  "last": 0,
  "index": 1,
  "index0": 0,
  "rindex": 4,
  "rindex0": 3,
  "length": 4
}
```
