---
title: "CollectionItemInfo"
description: "Information about the item of a collection.

A collection item is contained in a collection, it starts at a given [rowIndex] and [columnIndex]
in the collection, and spans one or more rows and columns. For example, a header of two related
table columns starts at the first row and the first column, spans one row and two columns."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class CollectionItemInfo(
    val rowIndex: Int,
    val rowSpan: Int,
    val columnIndex: Int,
    val columnSpan: Int,
)
```


Information about the item of a collection.

A collection item is contained in a collection, it starts at a given `rowIndex` and `columnIndex`
in the collection, and spans one or more rows and columns. For example, a header of two related
table columns starts at the first row and the first column, spans one row and two columns.

#### Parameters

| | |
| --- | --- |
| rowIndex | the index of the row at which item is located |
| rowSpan | the number of rows the item spans |
| columnIndex | the index of the column at which item is located |
| columnSpan | the number of columns the item spans |




