|
|
@ -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([ |
|
|
|