0
this->widget('bootstrap.widgets.TbGridView',array(
         'dataProvider'=>$model->search(),
         'filter'=>$model,
         'afterAjaxUpdate'=>'function(id, data){debugger;}',
         'template'=>'{items}{summary}{pager}',

On filter, I want to count number of result rows inside afterAjaxUpdate function so that i can use certain condition to hide and show my btn (somewhere in the page)

Is there any way to get that total rows??

Thanks in advance.

sujal
  • 1,058
  • 3
  • 18
  • 29

0 Answers0