Yii Framework Forum: Добавит label к ActionColumn в таблице(grid) - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Добавит label к ActionColumn в таблице(grid) Rate Topic: ***** 1 Votes

#1 User is offline   alexopenspace 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 27-January 15

Posted 13 February 2015 - 04:54 AM

Привет всем.


вот код:

    GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            'name',
            'username',
            'email:email',
            [
                'label' => 'Operaciones',
                'value' =>
                [
                    'class' => ActionColumn::className(),
                    'template' => '{view}{delete}'
                ]
            ],
        ],
    ]);


я не понимаю как можно добавть лэйбел к колонке с кнопками?

Спасибо за помощь.
0

#2 User is offline   Jadson 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 26-July 14

Posted 16 February 2015 - 05:15 AM

http://www.yiiframew...#$header-detail
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users