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.