title: How to show data in gridview as a link format in yii2?
body: <p><a href="https://i.stack.imgur.com/HX66e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HX66e.jpg" alt="enter image description here"></a></p>
  
  <p>as given in above image I have used gridview in yii2. I want to show this web address as link format.</p>
  
  <p>here is code</p>
  
  <pre><code>  &lt;?php 
       $gridColumns = [
                      ['class' =&gt; 'yii\grid\SerialColumn'],
                      ['class' =&gt; 'yii\grid\CheckboxColumn'],             
                    ....
                      'name',             
                      'web_address',
                    ...
  ]; ?&gt;
  
  &lt;?php
              echo GridView::widget([
                  'tableOptions' =&gt; ['id' =&gt; 'companies_grid_table',
                  'class' =&gt; 'table table-striped table-bordered table-hover'],
                  'id'=&gt; 'companies_grid_display',
                  'dataProvider' =&gt; $dataProvider,
                  'filterModel' =&gt; $searchModel,
                  'columns' =&gt; $gridColumns,           
              ]); 
  ?&gt;
  </code></pre>
  
  <p>how to show it as link?</p>