Hide row numbers on GridView

How do I hide the automatic row numbering in GridView?

I found the $layout property which allows me to customize each row somewhat, but even using only {items} as default layout won’t remove the row numbers to the left.

Does anyone know how I disable this?

Assuming it is in the first column remove the first column in the gridview ([‘class’ => ‘yii\grid\SerialColumn’],)

2 Likes

Thanks a lot, solved it!