hey guys I need to remove the dispaly message Displaying 1-6 of 6 results. in cgridview.pls help me
thanx
hey guys I need to remove the dispaly message Displaying 1-6 of 6 results. in cgridview.pls help me
thanx
Just remove text in ‘SummaryText’ prop
'summaryText' => 'Show {start} - {end} of {count} ',
To
'summaryText' => '',
hey thanx your reply.where do I find that code and I need only one gridview to do that.not all the gridview in the webapp.help me
It’s a property of the CGridView widget. So you do this on rendering the CGridView, not somewhere in the code.
$this->widget('zii.widgets.grid.CGridView', array(
'dataProvider'=>$dataProvider,
....
'summaryText' => '',
....
),
));
Great… thanx lot