title: yii bootstrap + widget TbButtonColumn + widget TbButtonGroup
body: <h1>yii bootstrap + widget TbButtonColumn + widget TbButtonGroup</h1>
  <p>Faced with such a problem:</p>
  <p>Table is formed by the widget TbGridView from bootstrap (from yii-booster). In the column TbButtonColumn I form the &quot;edit / delete, etc.&quot;</p>
  <p>But one button I want to do with the effect of Split dropdowns
  <a href="http://yii-booster.clevertech.biz/components.html#buttonDropdowns" rel="noreferrer">http://yii-booster.clevertech.biz/components.html#buttonDropdowns</a></p>
  <pre><code>$this-&gt;widget('bootstrap.widgets.TbGridView', array(
      'id'=&gt;'customer-grid',
      'type'=&gt;'striped bordered condensed',
      'dataProvider'=&gt;$model-&gt;search(),
      'filter'=&gt;$model,
      'columns'=&gt;array(
          'surname',
          'name',
          'middlename',
          'dateOfBirth',
          array(
              'class'=&gt;'bootstrap.widgets.TbButtonColumn',
              'template'=&gt;'{add} {list} {update} {print_act}',
              'buttons'=&gt;array
              (
                  'add' =&gt; array
                  (
                      'label'=&gt;'Назначить прием',
                      'icon'=&gt;'plus',
                      'url'=&gt;'Yii::app()-&gt;createUrl(&quot;reception/create&quot;, array(&quot;id&quot;=&gt;$data-&gt;id))',
                      'options'=&gt;array(
                          'class'=&gt;'btn btn-small',
                      ),
                  ),
                  'list' =&gt; array
                  (
                      'label'=&gt;'Список предоставленных услуг',
                      'icon'=&gt;'list white',
                      'url'=&gt;'Yii::app()-&gt;createUrl(&quot;patient/update&quot;, array(&quot;id&quot;=&gt;$data-&gt;id))',
                      'options'=&gt;array(
                          'class'=&gt;'btn btn-small btn-info',
                      ),
                  ),
                  'update' =&gt; array
                  (
                      'label'=&gt;'Изменить данные Пациента',
                      'icon'=&gt;'pencil white',
                      'url'=&gt;'Yii::app()-&gt;createUrl(&quot;customer/update&quot;, array(&quot;id&quot;=&gt;$data-&gt;id))',
                      'options'=&gt;array(
                          'class'=&gt;'btn btn-small btn-success',
                      ),
                  ),
                  'print_act' =&gt; array
                  (
                      'label'=&gt;'Печать акта выполненных работ',
                      'icon'=&gt;'print',
                      'url'=&gt;'Yii::app()-&gt;createUrl(&quot;customer/printAct&quot;, array(&quot;id&quot;=&gt;$data-&gt;id))',
                      'options'=&gt;array(
                          'class'=&gt;'btn btn-small',
                      ),
                  ),
              ),
              'htmlOptions'=&gt;array(
                  'style'=&gt;'width: 220px',
              ),
          ) 
      ),
  ));
  </code></pre>