Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都可以帮助我如何在前端的 Yii 中创建 cgridview,因为我是 Yii 的初学者
$dataProvider=new CActiveDataProvider('Post'); $this->widget('zii.widgets.grid.CGridView', array( 'dataProvider'=>$dataProvider, ));
参考这个:http ://www.yiiframework.com/doc/api/1.1/CGridView