In yii\'s CGridView I can get the current row number by using $row. But this returns the row index within the current page only. What I rea
Maybe this will help: CDataProvider has a property "totalItemCount" which can be used:
Ex: $this->grid->dataProvider->getTotalItemCount();
More details at: http://www.yiiframework.com/doc/api/1.1/CDataProvider#totalItemCount-detail