Browse Source

Merge pull request #3156 from acorncom/fixed-data-grid-docs-error

Updated data-grid.md to fix wrong path to GridView
tags/2.0.0-rc
Carsten Brandt 11 years ago
parent
commit
800fb9477f
  1. 2
      docs/guide/data-grid.md

2
docs/guide/data-grid.md

@ -15,7 +15,7 @@ automatically degrade to normal page requests and are still functioning as expec
The minimal code needed to use GridView is as follows: The minimal code needed to use GridView is as follows:
```php ```php
use yii\data\GridView; use yii\grid\GridView;
use yii\data\ActiveDataProvider; use yii\data\ActiveDataProvider;
$dataProvider = new ActiveDataProvider([ $dataProvider = new ActiveDataProvider([

Loading…
Cancel
Save