title: yii2 GridView how to change column?
body: <pre><code>echo \yii\grid\GridView::widget(
          [
              /**
               * Экземпляр класса, который реализует \yii\data\DataProviderInterface. В нашем случае ActiveDataProvider
               */
              'dataProvider' =&gt; $dataProvider,
              'columns' =&gt; [
                  'ip',
                  'date',
                  'request',
                  [
                      'attribute' =&gt; 'ip',
                      'value' =&gt; function ($data) {
                          return long2ip($data['ip']);
                      }
                  ]
              ],
  
          ]
      );
  </code></pre>
  
  <p>ip changes, but date and request disappear, how to fix it
  ip changes, but date and request disappear, how to fix it</p>