Remove Css

hello friends

I’m trying to create a table in html in a view, but do not need it at no stylo css, how I can accomplish this?


can you explain it clearly with an example?

if you are using cgridview then use ‘cssFile’=>false, as a parameter.

I think the below match with your requires

$dataProvider=new CActiveDataProvider('Your model'); //or make your own array

$this->widget('zii.widgets.grid.CGridView', array(



           //column 1


            'name'=>'your column',

            'headerHtmlOptions'=>array('style'=>'what every style you want'),

            'htmlOptions'=>array('style'=>'what every style you want'),