2amigos / yii2-grid-view-library

Highly enhanced GridView widget and grid components for Yii2
https://2amigos.us
Other
57 stars 16 forks source link

How hidden extra row columns ? #5

Closed githubjeka closed 10 years ago

githubjeka commented 10 years ago
  GroupGridView::widget(
                [                  
                    'extraRowColumns' => ['project.id'],
                    'columns' => [                     
                        [
                            'attribute' => 'project.id',
                        ],
                     ]
                ]

);

The code is work fine, but i get grid with duplicate columns screen

When deleted 'attribute' => 'project.id', then throw PHP Notice Undefined index: project.id here

p.s 'visible' => false not helped too