php - Yii2 GridView widget not displaying data -


I have a scene where I am trying to output data:

  resonates Gridview:: Widgets (['dataProvider' = & gt; $ DATAprader, 'Columns' => [['' Labels '= & gt;' Contact ',' Attribute '=>' Client Contract ',' Value '= & gt; Client contractual contact ASHML', 'format' = & gt; 'raw'],   

... etc. The problem is that no area is displayed Even if they are in the database and the mod Should be received by:

  public function getContactAsHTML () {return Html :: a ($ this- & gt; contact, ['contact / view /', 'id' = & gt; ; $ This-> ID])}}   

... etc. Is this a problem in my thoughts or models?

I think it's fixed, the problem was actually in the controller, where 'datapriver' Was being specified in the use. I have decided to do a 'hike' for a while now, where I sponsor a new data outside of the real scene, and now I can get it to display the data.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

java - Session timeout does't work vaadin -