Commit 800fb947 by Carsten Brandt

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

Updated data-grid.md to fix wrong path to GridView
parents 6f0d218a 1168cb74
...@@ -15,7 +15,7 @@ automatically degrade to normal page requests and are still functioning as expec ...@@ -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([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment