title: Unable to access yii2 active data povider from gridview
body: <p>everyone this is my function that return the data provider to the gridview.</p>
  
  <pre><code>public function search($params)
      {
  
  
  
          $query = EventOrganizer::find()
          -&gt;where(['event.approve' =&gt; 0])
          -&gt;groupBy(['event.eventID']);
  
          // add conditions that should always apply here
  
          $query -&gt;joinWith(['event', 'organizer']);
          $dataProvider = new ActiveDataProvider([
              'query' =&gt; $query,
          ]);
  
          $this-&gt;load($params);
  
               $query-&gt;select(['event.eventID','event.title','event.startDate','event.startTime','event.endDate','event.endTime',
             'event.photo','event.description','event.location','event.approve',
             "GROUP_CONCAT(CONCAT(`organizer`.`name`,\" \", `organizer`.`organizerID`)) AS Name"])
              -&gt;andFilterWhere(['like', 'event.eventID', $this-&gt;eventID])
              -&gt;andFilterWhere(['like', 'organizer.organizerID', $this-&gt;organizerID]);
  
  
          return $dataProvider;
  
      }
  </code></pre>
  
  <p>The following is part of my code in gridview. When i trying to access data inside the data provider, I couldnt get to access the column which i had using group_concat. </p>
  
  <pre><code> [
        'label'=&gt; 'End Time',
        'attribute' =&gt; 'GROUP_CONCAT(CONCAT(`organizer`.`name`,\" \", `organizer`.`organizerID`)) AS Name',
  
  ],
  </code></pre>
  
  <p>I was able to access the other data as follow:</p>
  
  <pre><code> [
            'label'=&gt; 'End Date',
            'attribute' =&gt; 'event.endDate',
  
      ],
  </code></pre>
  
  <p>this prove that my data provider contains data, I have try a couple of ways but i still couldn't get to access on it. 
  Can anyone help me on this? </p>